get_root


Description:

public unowned Root? get_root ()

Returns the Root widget of this or null if the widget is not contained inside a widget tree with a root widget.

Root widgets will return themselves here.

Parameters:

this

a Widget

Returns:

the root widget of this, or null