gdk-Application-launching {RGtk2}R Documentation

Application launching

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

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);

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

http://library.gnome.org/devel//gdk/gdk-Application-launching.html


[Package RGtk2 version 2.20.21 Index]