[gtkmm] Wrap new GtkStack symbols as for 3.12



commit 4a07e5c65b864950131c5b14421d27bf8ed1a7bb
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Feb 3 09:21:21 2014 +0100

    Wrap new GtkStack symbols as for 3.12
    
    * gtk_stack_get_transition_running function
    * gtk_stack_get_child_by_name function
    * GtkStack::transition-running object property

 gtk/src/stack.hg |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/stack.hg b/gtk/src/stack.hg
index 67b50ec..d49d8ee 100644
--- a/gtk/src/stack.hg
+++ b/gtk/src/stack.hg
@@ -62,10 +62,17 @@ public:
   _WRAP_METHOD(guint get_transition_duration() const, gtk_stack_get_transition_duration)
 
   _WRAP_METHOD(void set_transition_type(StackTransitionType transition), gtk_stack_set_transition_type)
-  _WRAP_METHOD(StackTransitionType get_transition_type(), gtk_stack_get_transition_type)
+  _WRAP_METHOD(StackTransitionType get_transition_type(), gtk_stack_get_transition_type, deprecated "Use the 
const method instead.")
+  _WRAP_METHOD(StackTransitionType get_transition_type() const, gtk_stack_get_transition_type)
+
+  _WRAP_METHOD(bool get_transition_running() const, gtk_stack_get_transition_running)
+
+  _WRAP_METHOD(Widget* get_child_by_name(const Glib::ustring& name), gtk_stack_get_child_by_name)
+  _WRAP_METHOD(const Widget* get_child_by_name(const Glib::ustring& name) const, 
gtk_stack_get_child_by_name, constversion)
 
   _WRAP_PROPERTY("homogeneous", bool)
   _WRAP_PROPERTY("transition-duration", unsigned int)
+  _WRAP_PROPERTY("transition-running", bool)
   _WRAP_PROPERTY("transition-type", StackTransitionType)
   _WRAP_PROPERTY("visible-child", Widget*)
   _WRAP_PROPERTY("visible-child-name", Glib::ustring)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]