[cluttermm] BoxLayout: Add orientation property.



commit 8ac1102ed5f328975102646f7e3bd4692406a61f
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 11 15:07:46 2014 +0200

    BoxLayout: Add orientation property.
    
    And fix a typo.

 clutter/src/box-layout.hg |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/box-layout.hg b/clutter/src/box-layout.hg
index 98bd679..20e4ada 100644
--- a/clutter/src/box-layout.hg
+++ b/clutter/src/box-layout.hg
@@ -62,7 +62,7 @@ public:
   #m4 _CONVERSION(`bool&',`gboolean*',`(($2) &($3))')
   _WRAP_METHOD(void get_fill(const Glib::RefPtr<Actor>& child, bool &x_fill, bool &y_fill) const, 
clutter_box_layout_get_fill, deprecated "Use Actor's x-align and y-align properties instead.")
 
-  _WRAP_METHOD(void set_use_animations(bool animate), set_use_animations, deprecated "The layout manager 
will honour the easing state of the children when allocating them.")
+  _WRAP_METHOD(void set_use_animations(bool animate), clutter_box_layout_set_use_animations, deprecated "The 
layout manager will honour the easing state of the children when allocating them.")
   _WRAP_METHOD(bool get_use_animations() const, clutter_box_layout_get_use_animations, deprecated "The 
layout manager will honour the easing state of the children when allocating them.")
   _WRAP_METHOD(void set_easing_duration(guint msecs), clutter_box_layout_set_easing_duration, deprecated 
"The layout manager will honour the easing state of the children when allocating them.")
   _WRAP_METHOD(guint get_easing_duration() const, clutter_box_layout_get_easing_duration, deprecated "The 
layout manager will honour the easing state of the children when allocating them.")
@@ -72,6 +72,7 @@ public:
   _WRAP_PROPERTY("easing-duration", guint, deprecated "The layout manager will honour the easing state of 
the children when allocating them.")
   _WRAP_PROPERTY("easing-mode", unsigned long, deprecated "The layout manager will honour the easing state 
of the children when allocating them.")
   _WRAP_PROPERTY("homogeneous", bool)
+  _WRAP_PROPERTY("orientation", Orientation)
   _WRAP_PROPERTY("pack-start", bool)
   _WRAP_PROPERTY("spacing", guint)
   _WRAP_PROPERTY("use-animations", bool, deprecated "The layout manager will honour the easing state of the 
children when allocating them.")


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