On Tue, 2007-03-20 at 10:10 -0300, Carlos Savoretti wrote:
> A simple question... Is there any function
> equivalent to topLevelWidgets in gtk ?
> 
> Or some way to emulate it ?
> 
> I need it in order to iterate thru all the
> instances of a certain class created by an
> app.

I'm not sure if there's a direct way, but it shouldn't be difficult to
track all instances you create in a GList somewhere.  Then just hook in
to the objects' destroy signals to remove them from the list.

- Michael

-- 
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
        http://www.scl.ameslab.gov/Projects/Monitor/

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to