Top |
DbusmenuMenuitem * | dbusmenu_gtk_parse_menu_structure () |
DbusmenuMenuitem * | dbusmenu_gtk_parse_get_cached_item () |
The parser will take a GTK menu tree and attach it to a Dbusmenu menu tree. Along with setting up all the signals for updates and destruction. The returned item would be the root item of the given tree.
DbusmenuMenuitem *
dbusmenu_gtk_parse_menu_structure (GtkWidget *widget
);
Goes through the GTK structures and turns them into the appropraite Dbusmenu structures along with setting up all the relationships between the objects. It also stores the dbusmenu items as a cache on the GTK items so that they'll be reused if necissary.
DbusmenuMenuitem *
dbusmenu_gtk_parse_get_cached_item (GtkWidget *widget
);
The Dbusmenu GTK parser adds cached items on the various menu items throughout the tree. Sometimes it can be useful to get that cached item to use directly. This function will retrieve it for you.