![]() |
![]() |
![]() |
libdbusmenu-gtk Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libdbusmenu-gtk/parser.h>
DbusmenuMenuitem * dbusmenu_gtk_parse_menu_structure (GtkWidget *widget
);
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.
|
A GtkMenuItem or GtkMenuShell to turn into a DbusmenuMenuitem |
Returns : |
A dbusmenu item representing the menu structure. [transfer full] |