UIManager.getToplevels

Warning gtk_ui_manager_get_toplevels is deprecated and should not be used in newly-written code. 3.10 Obtains a list of all toplevel widgets of the requested types. Since 2.4

class UIManager
getToplevels

Parameters

types GtkUIManagerItemType

specifies the types of toplevel widgets to include. Allowed types are GTK_UI_MANAGER_MENUBAR, GTK_UI_MANAGER_TOOLBAR and GTK_UI_MANAGER_POPUP.

Return Value

Type: ListSG

a newly-allocated GSList of all toplevel widgets of the requested types. Free the returned list with g_slist_free(). [element-type GtkWidget][transfer container]

Meta