Method

GtkWidgetget_root

Declaration [src]

GtkRoot*
gtk_widget_get_root (
  GtkWidget* widget
)

Description [src]

Returns the GtkRoot widget of the widget.

This function will return NULL if the widget is not contained inside a widget tree with a root widget.

GtkRoot widgets will return themselves here.

Gets propertyGtk.Widget:root

Return value

Type: GtkRoot

The root widget of widget.

The returned data is owned by the instance.
The return value can be NULL.