diff options
author | Murray Cumming <murrayc@murrayc.com> | 2012-10-21 13:49:45 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2012-10-21 13:49:45 +0200 |
commit | 6b944f4fcaad845efa6e212eae22fee4a2927693 (patch) | |
tree | 671b9718d3fdfeb23e853df4068abeabd59b4b06 /gio/src/menuitem.hg | |
parent | 4a87ab19063da014665c6282473138ed109ac47d (diff) | |
download | glibmm-6b944f4fcaad845efa6e212eae22fee4a2927693.tar.gz |
Add some documentation.
* gio/src/dbusintrospection.hg:
* gio/src/dbusserver.ccg:
* gio/src/inputstream.hg:
* gio/src/menu.hg:
* gio/src/menuitem.hg:
* gio/src/outputstream.hg:
* glib/src/threads.hg: Deal with some TODOS, mostly
adding documentation based on the C documentation.
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) |