forked from AuroraMiddleware/gtk
7447ef0fc2
In particular, rename - libraries to lib*-3.0.so - pc files to *-3.0.pc - include paths to /usr/include/gtk-3.0/* - module paths to /usr/lib/gtk-3.0/* - rc files names to gtk-3.0/gtkrc - commandline utilities to *-3.0 - adjust documentation Also change the install location for unix-print headers to /usr/include/gtk-3.0/unix-print/gtk.
111 lines
1.8 KiB
Plaintext
111 lines
1.8 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Application launching
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Startup notification for applications
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
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.
|
|
</para>
|
|
<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>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
<!-- ##### TYPEDEF GdkAppLaunchContext ##### -->
|
|
<para>
|
|
An opaque structure representing an application launch context.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@void:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_display ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@display:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_screen ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@screen:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_desktop ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@desktop:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_timestamp ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@timestamp:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_icon ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@icon:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_app_launch_context_set_icon_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@context:
|
|
@icon_name:
|
|
|
|
|