summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-09-27 12:26:17 +0200
committerMurray Cumming <murrayc@murrayc.com>2013-09-27 12:26:17 +0200
commit02e34afc8678d10be616eeefec290a6088a3c56e (patch)
tree4a6b0832d8bc8f84c1039f301528d57ecee02f90
parentdf08c661786bacf45e7ff10d45d728f807b64ecb (diff)
downloadglibmm-02e34afc8678d10be616eeefec290a6088a3c56e.tar.gz
Menu: Add a TODO
-rw-r--r--gio/src/menu.hg3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/src/menu.hg b/gio/src/menu.hg
index fee1ddd8..1016856b 100644
--- a/gio/src/menu.hg
+++ b/gio/src/menu.hg
@@ -54,7 +54,8 @@ public:
_WRAP_METHOD(void remove(int position), g_menu_remove)
_WRAP_METHOD(void remove_all(), g_menu_remove_all)
-//TODO: Allow label to be null.
+//TODO: Allow label to be null. But when would that be useful?
+//TODO: Return the MenuItem* ? See https://bugzilla.gnome.org/show_bug.cgi?id=708906
_WRAP_METHOD(void insert(int position, const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_insert)
_WRAP_METHOD(void prepend(const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_prepend)
_WRAP_METHOD(void append(const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_append)