get_root


Description:

public unowned Root? get_root ()

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.

Parameters:

this

a widget

Returns:

the root widget of this