Re: Recurse through whole widget tree?



On Thu, 2 Aug 2001, Neil Bird wrote:

> 
>   I'd like to recurse through an entire widget tree (actually
> starting from a window). I'd hopeed it would be as simple as a
> recursive GTK_IS_CONTAINER/foreach loop, but ... it's not.

it in fact is. container_foreach or containr_list_children() are there to
get all children of a container and recursively applied, that gets you
the whole widget tree.

it might help if you said why you think this wouldn't work.


---
ciaoTJ





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