Description Methods and Functions Detailed Description Structures Convenient Construction Author(s) References
Startup notification for applications
gdkAppLaunchContextNew()
gdkAppLaunchContextSetDisplay(object, display)
gdkAppLaunchContextSetScreen(object, screen)
gdkAppLaunchContextSetDesktop(object, desktop)
gdkAppLaunchContextSetTimestamp(object, timestamp)
gdkAppLaunchContextSetIcon(object, icon = NULL)
gdkAppLaunchContextSetIconName(object, icon.name = NULL)
gdkAppLaunchContext()
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
1 2 3 4 | context <- gdkAppLaunchContext()
context$setScreen(my_screen)
context$setTimestamp(event$time)
gAppInfoLaunchDefaultForUri("http://www.gtk.org", context)
|
GdkAppLaunchContext
An opaque structure representing an application launch context.
gdkAppLaunchContext
is the equivalent of gdkAppLaunchContextNew
.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gdk2/stable/gdk2-Application-launching.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.