1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Startup notification for applications
7 <!-- ##### SECTION Long_Description ##### -->
9 GdkAppLaunchContext is an implementation of #GAppLaunchContext that
10 handles launching an application in a graphical context. It provides
11 startup notification and allows to launch applications on a specific
15 <title>Launching an application</title>
17 GdkAppLaunchContext *context;
19 context = gdk_app_launch_context_new (<!-- -->);
21 gdk_app_launch_context_set_screen (my_screen);
22 gdk_app_launch_context_set_timestamp (event->time);
24 if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error))
25 g_warning ("Launching failed: %s\n", error->message);
27 g_object_unref (context);
31 <!-- ##### SECTION See_Also ##### -->
36 <!-- ##### SECTION Stability_Level ##### -->
39 <!-- ##### TYPEDEF GdkAppLaunchContext ##### -->
41 An opaque structure representing an application launch context.
45 <!-- ##### FUNCTION gdk_app_launch_context_new ##### -->
53 <!-- ##### FUNCTION gdk_app_launch_context_set_display ##### -->
62 <!-- ##### FUNCTION gdk_app_launch_context_set_screen ##### -->
71 <!-- ##### FUNCTION gdk_app_launch_context_set_desktop ##### -->
80 <!-- ##### FUNCTION gdk_app_launch_context_set_timestamp ##### -->
89 <!-- ##### FUNCTION gdk_app_launch_context_set_icon ##### -->
98 <!-- ##### FUNCTION gdk_app_launch_context_set_icon_name ##### -->