[glibmm] Gio::Action: Wrap some new methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Action: Wrap some new methods.
- Date: Wed, 31 Jul 2013 09:38:29 +0000 (UTC)
commit 6f8043bd4adeecfe14072c46c7fb0c32568a7337
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Jul 31 10:58:50 2013 +0200
Gio::Action: Wrap some new methods.
* gio/src/action.hg: Add name_is_valid()
and print_detailed_name().
gio/src/action.hg | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/action.hg b/gio/src/action.hg
index db2ca59..b87332f 100644
--- a/gio/src/action.hg
+++ b/gio/src/action.hg
@@ -102,6 +102,12 @@ public:
_WRAP_METHOD(void activate(const Glib::VariantBase& parameter), g_action_activate)
+ _WRAP_METHOD(static bool name_is_valid(const Glib::ustring& action_name), g_action_name_is_valid )
+
+ //TODO: _WRAP_METHOD(static bool parse_detailed_name(const Glib::ustring& detailed_name, gchar**
action_name, GVariant** target_value), g_action_parse_detailed_name, errthrow)
+
+ _WRAP_METHOD(static Glib::ustring print_detailed_name(const Glib::ustring& action_name, const
Glib::VariantBase& parameter), g_action_print_detailed_name)
+
_WRAP_PROPERTY("enabled", bool)
_WRAP_PROPERTY("name", Glib::ustring)
_WRAP_PROPERTY("parameter-type", Glib::VariantType)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]