Widget.getRoot
gtk.root.Root 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.
Returns
the root widget of widget