Obtaining all instances of a GType

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

 



Hi all.

In Smalltalk, I usually send the 'allInstances' message to a Class
instance to obtain a collection of all the instances of that class. I
use this technique, for example, to obtain all the Window objects with a
given title.

Is there something similar for the GObject system? Something like

GList* instances = g_type_get_all_instances(gtk_window_get_type());

	Thanks

		Giovanni



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

  Powered by Linux