summaryrefslogtreecommitdiff
path: root/gio/src/action.hg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-07-31 10:58:50 +0200
committerMurray Cumming <murrayc@murrayc.com>2013-07-31 10:58:50 +0200
commit6f8043bd4adeecfe14072c46c7fb0c32568a7337 (patch)
tree422a254ec571874397f09e2b45b0c14f036ca2a5 /gio/src/action.hg
parent1138c235aca7fe23419eb3188cab2ce1f82ebf44 (diff)
downloadglibmm-6f8043bd4adeecfe14072c46c7fb0c32568a7337.tar.gz
Gio::Action: Wrap some new methods.
* gio/src/action.hg: Add name_is_valid() and print_detailed_name().
Diffstat (limited to 'gio/src/action.hg')
-rw-r--r--gio/src/action.hg6
1 files changed, 6 insertions, 0 deletions
diff --git a/gio/src/action.hg b/gio/src/action.hg
index db2ca59d..b87332f5 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)