AppLaunchContext
Object Hierarchy:
GLib.AppLaunchContext
GLib.AppLaunchContext
GLib.AppLaunchContext
GLib.Object
GLib.Object
GLib.Object->GLib.AppLaunchContext
Description:
[ CCode ( type_id = "g_app_launch_context_get_type ()" ) ]public class AppLaunchContext : Object
Integrating the launch with the launching application.
This is used to handle for instance startup notification and launching the new application on the same screen as the launching window.
Content:
Creation methods:
Methods:
public virtual string ? get_display (AppInfo info, List <File > files)
Gets the display string for the this
.
public string [] get_environment ()
Gets the complete environment variable list to be passed to the child
process when this is used to launch an application.
public virtual string ? get_startup_notify_id (AppInfo info, List <File > files)
Initiates startup notification for the application and returns the
`XDG_ACTIVATION_TOKEN` or `DESKTOP_STARTUP_ID` for the launched operation, if supported.
public void setenv (string variable, string value)
Arranges for variable
to be set to value
in
the child's environment when this is used to launch an application.
public void unsetenv (string variable)
Arranges for variable
to be unset in the child's
environment when this is used to launch an application.
Signals:
public virtual signal void launch_failed (string startup_notify_id)
The launch_failed signal is emitted when a
AppInfo launch fails.
public virtual signal void launch_started (AppInfo info, Variant ? platform_data)
The launch_started signal is emitted when
a AppInfo is about to be launched.
public virtual signal void launched (AppInfo info, Variant platform_data)
The launched signal is emitted when a
AppInfo is successfully launched.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref