all toplevel widgets of the requested types. Free the returned list with [glib.slist.SList.free].
UIManager.getToplevels
gtk.widget.Widget[] getToplevels(gtk.types.UIManagerItemType types)Obtains a list of all toplevel widgets of the requested types.
Parameters
types | specifies the types of toplevel widgets to include. Allowed types are #GTK_UI_MANAGER_MENUBAR, #GTK_UI_MANAGER_TOOLBAR and #GTK_UI_MANAGER_POPUP. |
Returns
a newly-allocated #GSList of