[glibmm] Menu: Add a TODO
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Menu: Add a TODO
- Date: Fri, 27 Sep 2013 10:26:25 +0000 (UTC)
commit 02e34afc8678d10be616eeefec290a6088a3c56e
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Sep 27 12:26:17 2013 +0200
Menu: Add a TODO
gio/src/menu.hg | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/menu.hg b/gio/src/menu.hg
index fee1ddd..1016856 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]