How to get a GtkMenuItem parent
- From: André Pedralho <apedralho gmail com>
- To: gtk-app-devel-list gnome org
- Subject: How to get a GtkMenuItem parent
- Date: Thu, 14 Jul 2005 08:52:26 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]