Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child markerGio.AppLaunchContext
parent-child marker Gdk.AppLaunchContext

Class Gdk.AppLaunchContext

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkAppLaunchContext
Class : AppLaunchContext
Extends: Gio.AppLaunchContext
GdkAppLaunchContext is an implementation of GAppLaunchContext that
handles launching an application in a graphical context. It provides
startup notification and allows to launch applications on a specific
screen or workspace.

Launching an application

GdkAppLaunchContext *context;
context = gdk_display_get_app_launch_context (display);
gdk_app_launch_context_set_screen (screen);
gdk_app_launch_context_set_timestamp (event->time);
if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error))
g_object_unref (context);

Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:54 GMT+0800 (HKT)