Widget.getRoot

Returns the gtk.root.Root widget of widget.

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

gtk.root.Root widgets will return themselves here.

class Widget
getRoot
()

Return Value

Type: gtk.root.Root

the root widget of widget