Obtaining all instances of a GType
- From: Giovanni Corriga <valkadesh libero it>
- To: gtk-list gnome org
- Subject: Obtaining all instances of a GType
- Date: 16 Jul 2003 13:57:09 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]