gdk-Application-launching: Application launching

Description Methods and Functions Detailed Description Structures Convenient Construction Author(s) References

Description

Startup notification for applications

Methods and Functions

gdkAppLaunchContextNew()
gdkAppLaunchContextSetDisplay(object, display)
gdkAppLaunchContextSetScreen(object, screen)
gdkAppLaunchContextSetDesktop(object, desktop)
gdkAppLaunchContextSetTimestamp(object, timestamp)
gdkAppLaunchContextSetIcon(object, icon = NULL)
gdkAppLaunchContextSetIconName(object, icon.name = NULL)
gdkAppLaunchContext()

Detailed Description

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)

Structures

GdkAppLaunchContext

An opaque structure representing an application launch context.

Convenient Construction

gdkAppLaunchContext is the equivalent of gdkAppLaunchContextNew.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gdk2/stable/gdk2-Application-launching.html


RGtk2 documentation built on June 12, 2018, 5:06 p.m.