Re: Obtaining all instances of a GType

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 16, 2003 at 01:57:09PM +0200, Giovanni Corriga wrote: 
> Is there something similar for the GObject system? Something like
> 
> GList* instances = g_type_get_all_instances(gtk_window_get_type());

No, a list of instances isn't kept. However GtkWindow instances
specifically are tracked by GTK, see gtk_window_list_toplevels().

Havoc


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux