I'm developing an app that creates a menu from a file. Then it would
have many submenus. I'm trying to make it in a recursive function, but
I am looking for a way to up the tree.
For example:
root
|
sub-root
| |
| itens_here
| |
| sub-sub-root
| |
| itens_here
|
sub-root2
|
itens_here
I wanna know how to get 'root' from 'sub-root'.
e.g gtk_menu_item_get_parent(sub-root) - it would return root!
BR
--
André Pedralho
Bachelor in Computer Science
Instituto Nokia de Tecnologia
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list