Widget.isToplevel

Determines whether widget is a toplevel widget. Currently only GtkWindow and GtkInvisible (and out-of-process GtkPlugs) are toplevel widgets. Toplevel widgets have no parent widget. Since 2.18

class Widget
int
isToplevel
()

Return Value

Type: int

TRUE if widget is a toplevel, FALSE otherwise

Meta