aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-24 12:51:14 -0600
committerTed Gould <ted@gould.cx>2011-02-24 12:51:14 -0600
commitd7094a2985f0f6aff0ed47044df8b27fd2c860a6 (patch)
tree0d91030bfe58cb3cdec719add2857f906616592b /libdbusmenu-gtk/parser.h
parent23af95956cddc1d3cb858d537a2c85cb0f0d0851 (diff)
parent0184d1824357d0e3bcf4e4142b26663ba21e7c4c (diff)
downloadlibdbusmenu-d7094a2985f0f6aff0ed47044df8b27fd2c860a6.tar.gz
libdbusmenu-d7094a2985f0f6aff0ed47044df8b27fd2c860a6.tar.bz2
libdbusmenu-d7094a2985f0f6aff0ed47044df8b27fd2c860a6.zip
* Documentation fixes
* Making menuitems track their own parents * Resolving property changes by looking at the properties directly.
Diffstat (limited to 'libdbusmenu-gtk/parser.h')
-rw-r--r--libdbusmenu-gtk/parser.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/parser.h b/libdbusmenu-gtk/parser.h
index a40d709..8187a8e 100644
--- a/libdbusmenu-gtk/parser.h
+++ b/libdbusmenu-gtk/parser.h
@@ -32,6 +32,20 @@ License version 3 and version 2.1 along with this program. If not, see
#include <libdbusmenu-glib/menuitem.h>
#include <gtk/gtk.h>
+G_BEGIN_DECLS
+
DbusmenuMenuitem * dbusmenu_gtk_parse_menu_structure (GtkWidget * widget);
+/**
+ SECTION:parser
+ @short_description: A parser of in-memory GTK menu trees
+ @stability: Unstable
+ @include: libdbusmenu-gtk/parser.h
+
+ 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.
+*/
+G_END_DECLS
+
#endif /* DBUSMENU_GTK_PARSER_H__ */