Package: gdk

Class gdk-app-launch-context

Superclasses

g-app-launch-context, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

display
The display property of type gdk-display (Read / Write / Construct Only)
Display.

Details

The gdk-app-launch-context object is an implementation of the g-app-launch-context object that handles launching an application in a graphical context. It provides startup notification and allows to launch applications on a specific screen or workspace.

Example

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_warning ("Launching failed: %sn", error->message);

g_object_unref (context);
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-11