Logo Search packages:      
Sourcecode: ardour version File versions

Glib::ListHandle< Window * > Gtk::Window::list_toplevels (  )  [static]

Returns a list of all existing toplevel windows. The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, 0) first, and then unref all the widgets afterwards.

List of toplevel widgets.

Definition at line 772 of file window.cc.

  return Glib::ListHandle<Window*>(gtk_window_list_toplevels(), Glib::OWNERSHIP_SHALLOW);

Generated by  Doxygen 1.6.0   Back to index