diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-11-15 03:18:45 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-11-15 03:18:45 +0100 |
commit | 8ca6882e8897d8b2fc5b0ce6177110fea9b093d0 (patch) | |
tree | 406dbf2e1ea029d1db10e752893b502292c483ae /gdk | |
parent | 466931cb9ab9fa694af5fa6b858112817f4ecc69 (diff) | |
download | gtk+-8ca6882e8897d8b2fc5b0ce6177110fea9b093d0.tar.gz |
docs: Move documentation to inline comments: gdkapplaunchcontext
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkapplaunchcontext.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c index 46fd99a4fd..1bd4dbbf29 100644 --- a/gdk/gdkapplaunchcontext.c +++ b/gdk/gdkapplaunchcontext.c @@ -29,6 +29,34 @@ #include "gdkintl.h" +/** + * SECTION:gdkapplaunchcontext + * @Short_description: Startup notification for applications + * @Title: Application launching + * + * 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. + * <example> + * <title>Launching an application</title> + * <programlisting> + * GdkAppLaunchContext *context; + * + * context = gdk_app_launch_context_new (<!-- -->); + * + * gdk_app_launch_context_set_screen (my_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: %s\n", error->message); + * + * g_object_unref (context); + * </programlisting> + * </example> + */ + + static void gdk_app_launch_context_finalize (GObject *object); static gchar * gdk_app_launch_context_get_display (GAppLaunchContext *context, GAppInfo *info, |