Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method GTK2.Widget()->get_toplevel()


Method get_toplevel

GTK2.Widget get_toplevel()

Description

This function returns the topmost widget in the container hierarchy this widget is a part of. If this widget has no parent widgets, it will be returned as the topmost widget.