Re: [Gtk2hs-devel] Recursively iterating through containers in Gtk2hs

2012-09-11 Thread Axel Simon
Hi Rouan, what is wrong with iterating through all children and using isA to check if they are containers? Cheers, Axel On 11.09.2012, at 09:21, Rouan van Dalen wrote: > Hi everyone, > > thanks for the replies. I guess I can keep track of the controls myself. > The reason I was looking at t

Re: [Gtk2hs-devel] Recursively iterating through containers in Gtk2hs

2012-09-11 Thread Rouan van Dalen
Hi everyone, thanks for the replies.  I guess I can keep track of the controls myself. The reason I was looking at the container iteration solution is so that I do not have to keep the state separately. If there is no good way to let Gtk2hs do this for me I can manage the controls myself.  I just

Re: [Gtk2hs-devel] Recursively iterating through containers in Gtk2hs

2012-09-10 Thread wagnerdm
Quoting Rouan van Dalen : > I need to recursively iterate through all the containers in a window > to get to the widgets in the window, which are not containers. > > I scanned the Gtk2hs docs and I could not find a good way to > determine if a widget is a container or not.  I saw that the >