Re: Walking through the widgets of an application?



On Wed, 2003-03-19 at 12:39, Laszlo Kovacs wrote:

> u can get a list of all toplevel windows using
> > gtk_window_list_toplevels(). It should be easy to traverse the widget
> > hierachy for each window using gtk_container_get_children(). But I
> > think I already pointed you to these functions when you asked on #gtk+.
> > 
> 
> Thanks. Would this work for dialogs/menus as well? Can I get to all the 
> widgets like this?
> 
> Laszlo

For a widget to be visible to a user, it must be the child of some
toplevel window.

Regards,
                                            Owen





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