Method

Gtk.Widget.get_root

Declaration [src]

GtkRoot*
gtk_widget_get_root (
  GtkWidget* widget
)

Description [src]

Returns the GtkRoot widget of 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

Returns: GtkRoot

the root widget of widget, or NULL

The data is owned by the called function
Can be NULL