get_toplevels


Description:

[ Version ( since = "2.4" ) ]
public SList<unowned Widget> get_toplevels (UIManagerItemType types)

Obtains a list of all toplevel widgets of the requested types.

Parameters:

this

a UIManager

types

specifies the types of toplevel widgets to include. Allowed types are MENUBAR, TOOLBAR and POPUP.

Returns:

a newly-allocated SList of all toplevel widgets of the requested types. Free the returned list with g_slist_free.




2022 vala-language.org