Hi, "Marc K." <marc@xxxxxxxxxxxxxx> writes: > What I want to achieve is to collect some IDs (or something similar) > when I create the internal classes. At this point, I have not created > any instances. So I think I cant use G_TYPE_FROM_INSTANCE. Still, the answer is in GObject. Types can be referred to by name and you can instantiate objects from type. Please have a look at the GObject API reference, in particular the docs about the type system. You may also want to read the excellent GObject tutorial written by Mathieu Lacage. Sven _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list