352
352
* g_app_info_launch_uris() instead.
354
354
* The launched application inherits the environment of the launching
355
* process, but it can be modified with g_app_launch_context_setenv() and
356
* g_app_launch_context_unsetenv().
355
* process, but it can be modified with g_app_launch_context_setenv()
356
* and g_app_launch_context_unsetenv().
358
* On UNIX, this function sets the <tt>GIO_LAUNCHED_DESKTOP_FILE</tt>
358
* On UNIX, this function sets the `GIO_LAUNCHED_DESKTOP_FILE`
359
359
* environment variable with the path of the launched desktop file and
360
* <tt>GIO_LAUNCHED_DESKTOP_FILE_PID</tt> to the process
361
* id of the launched process. This can be used to ignore
362
* <tt>GIO_LAUNCHED_DESKTOP_FILE</tt>, should it be inherited
363
* by further processes. The <tt>DISPLAY</tt> and
364
* <tt>DESKTOP_STARTUP_ID</tt> environment variables are also
365
* set, based on information provided in @a launch_context.
360
* `GIO_LAUNCHED_DESKTOP_FILE_PID` to the process id of the launched
361
* process. This can be used to ignore `GIO_LAUNCHED_DESKTOP_FILE`,
362
* should it be inherited by further processes. The `DISPLAY` and
363
* `DESKTOP_STARTUP_ID` environment variables are also set, based
364
* on information provided in @a launch_context.
366
365
* @param files A List of File objects.
367
366
* @param launch_context A AppLaunchContext or <tt>0</tt>.
368
367
* @return <tt>true</tt> on successful launch, <tt>false</tt> otherwise.
467
466
/** Tries to delete a AppInfo.
469
468
* On some platforms, there may be a difference between user-defined
470
* AppInfo<!-- -->s which can be deleted, and system-wide ones which
471
* cannot. See g_app_info_can_delete().
469
* AppInfos which can be deleted, and system-wide ones which cannot.
470
* See g_app_info_can_delete().
473
472
* Virtual: do_delete
536
535
* on this system.
538
537
* For desktop files, this includes applications that have
539
* <tt>NoDisplay=true</tt> set or are excluded from
540
* display by means of <tt>OnlyShowIn</tt> or
541
* <tt>NotShowIn</tt>. See g_app_info_should_show().
538
* `NoDisplay=true` set or are excluded from display by means
539
* of `OnlyShowIn` or `NotShowIn`. See g_app_info_should_show().
542
540
* The returned list does not include applications which have
543
* the <tt>Hidden</tt> key set.
544
* @return A newly allocated List of references to AppInfo<!---->s.
541
* the `Hidden` key set.
542
* @return A newly allocated List of references to AppInfos.
546
544
static Glib::ListHandle<Glib::RefPtr<AppInfo> > get_all();