gtkWidgetGetRootWindow {RGtk2}R Documentation

gtkWidgetGetRootWindow

Description

Get the root window where this widget is located. This function can only be called after the widget has been added to a widget heirarchy with GtkWindow at the top.

Usage

gtkWidgetGetRootWindow(object)

Arguments

object [GtkWidget] a GtkWidget

Details

The root window is useful for such purposes as creating a popup GdkWindow associated with the window. In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

Since 2.2

Value

[GdkWindow] the GdkWindow root window for the toplevel for this widget.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]