GObject.Object
Gio.AppLaunchContext
Gdk.AppLaunchContext
Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-3.0.gir |
C documentation: | GdkAppLaunchContext |
Class : | AppLaunchContext |
Extends: | Gio.AppLaunchContext |
Properties | Defined By | |
---|---|---|
display : Gdk.Display
|
Gdk.AppLaunchContext | |
parent_instance : GObject.Object
read only
|
Gio.AppLaunchContext | |
priv : Gio.AppLaunchContextPrivate
read only
|
Gio.AppLaunchContext |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.AppLaunchContext
(Object properties)
Create a new Gdk.AppLaunchContext
Create a new Gdk.AppLaunchContext
|
||
Gets the display string for the context.
Gets the display string for the context. This is used to ensure new
applications are started on the same display as the launching application, by setting the
|
Gio.AppLaunchContext | |
Initiates startup notification for the application and returns the
if supported.
Initiates startup notification for the application and returns the
if supported. Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard. not supported.
|
Gio.AppLaunchContext | |
launch_failed
(String startup_notify_id)
:
none
Called when an application has failed to launch, so that it can cancel
the application startup notification started in g_app_launch_context_get_startup_notify_id().
Called when an application has failed to launch, so that it can cancel
the application startup notification started in g_app_launch_context_get_startup_notify_id().
|
Gio.AppLaunchContext | |
set_desktop
(gint32 desktop)
:
none
Sets the workspace on which applications will be launched when
using this context when running under a window manager that supports multiple workspaces, as described in the Window Manager Hints
Sets the workspace on which applications will be launched when
using this context when running under a window manager that supports multiple workspaces, as described in the Window Manager Hints When the workspace is not specified or desktop is set to -1, it is up to the window manager to pick one, typically it will be the current workspace.
|
Gdk.AppLaunchContext | |
set_display
(Display display)
:
none
Sets the display on which applications will be launched when
using this context.
Sets the display on which applications will be launched when
using this context. See also gdk_app_launch_context_set_screen().
|
Gdk.AppLaunchContext | |
set_icon
(Icon icon)
:
none
Sets the icon for applications that are launched with this
context.
Sets the icon for applications that are launched with this
context. Window Managers can use this information when displaying startup notification. See also gdk_app_launch_context_set_icon_name().
|
Gdk.AppLaunchContext | |
set_icon_name
(String icon_name)
:
none
Sets the icon for applications that are launched with this context.
Sets the icon for applications that are launched with this context.
The icon_name will be interpreted in the same way as the Icon field in desktop files. See also gdk_app_launch_context_set_icon(). If both icon and icon_name are set, the icon_name takes priority. If neither icon or icon_name is set, the icon is taken from either the file that is passed to launched application or from the GAppInfo for the launched application itself.
|
Gdk.AppLaunchContext | |
set_screen
(Screen screen)
:
none
Sets the screen on which applications will be launched when
using this context.
Sets the screen on which applications will be launched when
using this context. See also gdk_app_launch_context_set_display(). If both screen and display are set, the screen takes priority. If neither screen or display are set, the default screen and display are used.
|
Gdk.AppLaunchContext | |
set_timestamp
(guint32 timestamp)
:
none
Sets the timestamp of context.
Sets the timestamp of context. The timestamp should ideally
be taken from the event that triggered the launch. Window managers can use this information to avoid moving the focus to the newly launched application when the user is busy typing in another window. This is also known as 'focus stealing prevention'.
|
Gdk.AppLaunchContext |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk.Display
Method |
get_app_launch_context
()
:
Gdk.AppLaunchContext
Returns a GdkAppLaunchContext suitable for launching
applications on the given display. |