diff options
Diffstat (limited to 'gio/src/menuitem.hg')
-rw-r--r-- | gio/src/menuitem.hg | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gio/src/menuitem.hg b/gio/src/menuitem.hg index 04bf0682..51e5e84a 100644 --- a/gio/src/menuitem.hg +++ b/gio/src/menuitem.hg @@ -24,7 +24,7 @@ _PINCLUDE(glibmm/private/object_p.h) namespace Gio { -/** TODO +/** A menu item for use with Gio::Menu. * * @newin{2,32} */ @@ -64,9 +64,13 @@ public: // Ignore varargs function. _IGNORE(g_menu_item_get_attribute) - //TODO: Documentation: + //TODO: Rename this to unset_action_target() and deprecate this one. + /** Unsets the target for the specified @a action. + */ void set_action_and_target(const Glib::ustring& action); + //TODO: Add unset_action_and_target(). + _WRAP_METHOD(void set_action_and_target(const Glib::ustring& action, const Glib::VariantBase& target_value), g_menu_item_set_action_and_target_value) _IGNORE(g_menu_item_set_action_and_target) _WRAP_METHOD(void set_detailed_action(const Glib::ustring& detailed_action), g_menu_item_set_detailed_action) |