From 6f8043bd4adeecfe14072c46c7fb0c32568a7337 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Wed, 31 Jul 2013 10:58:50 +0200 Subject: Gio::Action: Wrap some new methods. * gio/src/action.hg: Add name_is_valid() and print_detailed_name(). --- gio/src/action.hg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gio/src/action.hg') 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) -- cgit v1.2.1