cluttermm: Clutter::BoxLayout Class Reference

Inheritance diagram for Clutter::BoxLayout:
Collaboration diagram for Clutter::BoxLayout:

Public Member Functions

virtual ~BoxLayout ()
 
ClutterBoxLayout* gobj ()
 Provides access to the underlying C GObject. More...

 
const ClutterBoxLayout* gobj () const
 Provides access to the underlying C GObject. More...

 
ClutterBoxLayout* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...

 
void set_orientation (Orientation orientation)
 Sets the orientation of the Clutter::BoxLayout layout manager. More...

 
Orientation get_orientation () const
 Retrieves the orientation of the layout. More...

 
void set_pack_start (bool pack_start)
 Sets whether children of layout should be layed out by appending them or by prepending them. More...

 
bool get_pack_start () const
 Retrieves the value set using set_pack_start() More...

 
void set_spacing (guint spacing)
 Sets the spacing between children of layout. More...

 
guint get_spacing () const
 Retrieves the spacing set using set_spacing() More...

 
void set_vertical (bool vertical)
 Sets whether layout should arrange its children vertically alongside the Y axis, instead of horizontally alongside the X axis. More...

 
bool get_vertical () const
 Retrieves the orientation of the layout as set using the set_vertical() function. More...

 
void set_homogeneous (bool homogeneous)
 Sets whether the size of layout children should be homogeneous. More...

 
bool get_homogeneous () const
 Retrieves if the children sizes are allocated homogeneously. More...

 
void pack (const Glib::RefPtr< Actor >& p1, bool expand, bool x_fill, bool y_fill, BoxAlignment x_align, BoxAlignment y_align)
 Packs actor inside the Clutter::Container associated to layout and sets the layout properties. More...

 
void set_alignment (const Glib::RefPtr< Actor >& child, BoxAlignment x_align, BoxAlignment y_align)
 Sets the horizontal and vertical alignment policies for actor inside layout. More...

 
void get_alignment (const Glib::RefPtr< Actor >& child, BoxAlignment& x_align, BoxAlignment& y_align) const
 Retrieves the horizontal and vertical alignment policies for actor as set using pack() or set_alignment() More...

 
void set_expand (const Glib::RefPtr< Actor >& child, bool expand)
 Sets whether actor should expand inside layout. More...

 
bool get_expand (const Glib::RefPtr< Actor >& child) const
 Retrieves whether actor should expand inside layout. More...

 
void set_fill (const Glib::RefPtr< Actor >& child, bool x_fill, bool y_fill)
 Sets the horizontal and vertical fill policies for actor inside layout. More...

 
void get_fill (const Glib::RefPtr< Actor >& child, bool& x_fill, bool& y_fill) const
 Retrieves the horizontal and vertical fill policies for actor as set using pack() or set_fill() More...

 
void set_use_animations (bool animate)
 Sets whether layout should animate changes in the layout properties. More...

 
bool get_use_animations () const
 Retrieves whether layout should animate changes in the layout properties. More...

 
void set_easing_duration (guint msecs)
 Sets the duration of the animations used by layout when animating changes in the layout properties. More...

 
guint get_easing_duration () const
 Retrieves the duration set using set_easing_duration() More...

 
void set_easing_mode (gulong mode)
 Sets the easing mode to be used by layout when animating changes in layout properties. More...

 
gulong get_easing_mode () const
 Retrieves the easing mode set using set_easing_mode() More...

 
Glib::PropertyProxy< guint > property_easing_duration ()
 The duration of the animations. More...

 
Glib::PropertyProxy_ReadOnly

< guint > 
property_easing_duration () const
 The duration of the animations. More...

 
Glib::PropertyProxy< unsigned

long > 
property_easing_mode ()
 The easing mode of the animations. More...

 
Glib::PropertyProxy_ReadOnly

< unsigned long > 
property_easing_mode () const
 The easing mode of the animations. More...

 
Glib::PropertyProxy< bool > property_homogeneous ()
 Whether the layout should be homogeneous, i.e. More...

 
Glib::PropertyProxy_ReadOnly

< bool > 
property_homogeneous () const
 Whether the layout should be homogeneous, i.e. More...

 
Glib::PropertyProxy< Orientationproperty_orientation ()
 The orientation of the layout. More...

 
Glib::PropertyProxy_ReadOnly

< Orientation
property_orientation () const
 The orientation of the layout. More...

 
Glib::PropertyProxy< bool > property_pack_start ()
 Whether to pack items at the start of the box. More...

 
Glib::PropertyProxy_ReadOnly

< bool > 
property_pack_start () const
 Whether to pack items at the start of the box. More...

 
Glib::PropertyProxy< guint > property_spacing ()
 Spacing between children. More...

 
Glib::PropertyProxy_ReadOnly

< guint > 
property_spacing () const
 Spacing between children. More...

 
Glib::PropertyProxy< bool > property_use_animations ()
 Whether layout changes should be animated. More...

 
Glib::PropertyProxy_ReadOnly

< bool > 
property_use_animations () const
 Whether layout changes should be animated. More...

 
Glib::PropertyProxy< bool > property_vertical ()
 Whether the layout should be vertical, rather than horizontal. More...

 
Glib::PropertyProxy_ReadOnly

< bool > 
property_vertical () const
 Whether the layout should be vertical, rather than horizontal. More...

 
- Public Member Functions inherited from Clutter::LayoutManager
virtual ~LayoutManager ()
 
ClutterLayoutManager* gobj ()
 Provides access to the underlying C GObject. More...

 
const ClutterLayoutManager* gobj () const
 Provides access to the underlying C GObject. More...

 
ClutterLayoutManager* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...

 
template<class PropertyType >
void set_child_property (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& child, const Glib::ustring& property_name, const PropertyType& value)
 
void set_child_property_value (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& child, const Glib::ustring& property_name, const Glib::ValueBase& value)
 Sets a property on the Clutter::LayoutMeta created by manager and attached to a child of container. More...

 
template<class PropertyType >
void get_child_property (const Glib::RefPtr< Container >& container, const Glib::RefPtr< const Actor >& actor, const Glib::ustring& property_name, PropertyType& value) const
 
void get_child_property_value (const Glib::RefPtr< Container >& container, const Glib::RefPtr< const Actor >& actor, const Glib::ustring& property_name, Glib::ValueBase& value) const
 
void get_preferred_width (const Glib::RefPtr< Container >& container, float for_height, float& min_width_p, float& natural_width_p) const
 Computes the minimum and natural widths of the container according to manager. More...

 
void get_preferred_height (const Glib::RefPtr< Container >& container, float for_width, float& min_height_p, float& natural_height_p) const
 Computes the minimum and natural heights of the container according to manager. More...

 
void allocate (const Glib::RefPtr< Container >& container, const ActorBox& box, AllocationFlags absolute_origin_changed)
 Allocates the children of container given an area. More...

 
void set_container (const Glib::RefPtr< Container >& container)
 If the Clutter::LayoutManager sub-class allows it, allow adding a weak reference of the container using manager from within the layout manager. More...

 
void layout_changed ()
 Emits the Clutter::LayoutManager::signal_layout_changed() signal on manager. More...

 
Glib::RefPtr< LayoutMetaget_child_meta (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor)
 Retrieves the Clutter::LayoutMeta that the layout manager associated to the actor child of container, eventually by creating one if the Clutter::LayoutManager supports layout properties. More...

 
Glib::RefPtr< const LayoutMetaget_child_meta (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor) const
 Retrieves the Clutter::LayoutMeta that the layout manager associated to the actor child of container, eventually by creating one if the Clutter::LayoutManager supports layout properties. More...

 
Glib::RefPtr< Alphabegin_animation (guint duration, gulong mode)
 Begins an animation of duration milliseconds, using the provided easing mode. More...

 
Glib::RefPtr< const Alphabegin_animation (guint duration, gulong mode) const
 Begins an animation of duration milliseconds, using the provided easing mode. More...

 
double get_animation_progress ()
 Retrieves the progress of the animation, if one has been started by begin_animation() More...

 
void end_animation ()
 Ends an animation started by begin_animation() More...

 
virtual void get_preferred_width_vfunc (const Glib::RefPtr< Container >& container, float for_height, float& min_width_p, float& natural_width_p) const
 
virtual void get_preferred_height_vfunc (const Glib::RefPtr< Container >& container, float for_width, float& min_height_p, float& natural_height_p) const
 
virtual void allocate_vfunc (const Glib::RefPtr< Container >& container, const ActorBox& box, AllocationFlags absolute_origin_changed)
 
virtual void set_container_vfunc (const Glib::RefPtr< Container >& container)
 
virtual GType get_child_meta_type_vfunc () const
 
virtual Glib::RefPtr< LayoutMetacreate_child_meta_vfunc (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor)
 
virtual Glib::RefPtr< Alphabegin_animation_vfunc (guint duration, gulong mode)
 
virtual double get_animation_progress_vfunc ()
 
virtual void end_animation_vfunc ()
 
Glib::SignalProxy0< void > signal_layout_changed ()
 

Static Public Member Functions

static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 
static Glib::RefPtr< BoxLayoutcreate ()
 
- Static Public Member Functions inherited from Clutter::LayoutManager
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 

Protected Member Functions

 BoxLayout ()
 
- Protected Member Functions inherited from Clutter::LayoutManager
 LayoutManager ()
 
virtual void on_layout_changed ()
 This is a default handler for the signal signal_layout_changed(). More...

 

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Clutter::BoxLayoutwrap (ClutterBoxLayout* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...

 

Constructor & Destructor Documentation

virtual Clutter::BoxLayout::~BoxLayout ( )
virtual
Clutter::BoxLayout::BoxLayout ( )
protected

Member Function Documentation

static Glib::RefPtr<BoxLayout> Clutter::BoxLayout::create ( )
static
void Clutter::BoxLayout::get_alignment ( const Glib::RefPtr< Actor >&  child,
BoxAlignment x_align,
BoxAlignment y_align 
) const

Retrieves the horizontal and vertical alignment policies for actor as set using pack() or set_alignment()

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_align() and Clutter::Actor::property_y_align() properies
Deprecated:
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_alignReturn location for the horizontal alignment policy.
y_alignReturn location for the vertical alignment policy.
guint Clutter::BoxLayout::get_easing_duration ( ) const

Retrieves the duration set using set_easing_duration()

Since cluttermm 1.2:

Deprecated: 1.12

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Returns
The duration of the animations, in milliseconds.
gulong Clutter::BoxLayout::get_easing_mode ( ) const

Retrieves the easing mode set using set_easing_mode()

Since cluttermm 1.2:

Deprecated: 1.12

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Returns
An easing mode.
bool Clutter::BoxLayout::get_expand ( const Glib::RefPtr< Actor >&  child) const

Retrieves whether actor should expand inside layout.

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_expand() and Clutter::Actor::property_y_expand() properies
Deprecated:
Use Actor's x-expand and y-expand properties instead.
Parameters
actorA Clutter::Actor child of layout.
Returns
true if the Clutter::Actor should expand, false otherwise.
void Clutter::BoxLayout::get_fill ( const Glib::RefPtr< Actor >&  child,
bool &  x_fill,
bool &  y_fill 
) const

Retrieves the horizontal and vertical fill policies for actor as set using pack() or set_fill()

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_align() and Clutter::Actor::property_y_align() properies
Deprecated:
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_fillReturn location for the horizontal fill policy.
y_fillReturn location for the vertical fill policy.
bool Clutter::BoxLayout::get_homogeneous ( ) const

Retrieves if the children sizes are allocated homogeneously.

Since cluttermm 1.4:
Returns
true if the Clutter::BoxLayout is arranging its children homogeneously, and false otherwise.
Orientation Clutter::BoxLayout::get_orientation ( ) const

Retrieves the orientation of the layout.

Since cluttermm 1.12:
Returns
The orientation of the layout.
bool Clutter::BoxLayout::get_pack_start ( ) const

Retrieves the value set using set_pack_start()

Since cluttermm 1.2:
Returns
true if the Clutter::BoxLayout should pack children at the beginning of the layout, and false otherwise.
guint Clutter::BoxLayout::get_spacing ( ) const

Retrieves the spacing set using set_spacing()

Since cluttermm 1.2:
Returns
The spacing between children of the Clutter::BoxLayout.
static GType Clutter::BoxLayout::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

bool Clutter::BoxLayout::get_use_animations ( ) const

Retrieves whether layout should animate changes in the layout properties.

Since cluttermm 1.2:

Deprecated: 1.12

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Returns
true if the animations should be used, false otherwise.
bool Clutter::BoxLayout::get_vertical ( ) const

Retrieves the orientation of the layout as set using the set_vertical() function.

Since cluttermm 1.2:

Deprecated: 1.12: Use get_orientation() instead

Deprecated:
Use get_orientation() instead.
Returns
true if the Clutter::BoxLayout is arranging its children vertically, and false otherwise.
ClutterBoxLayout* Clutter::BoxLayout::gobj ( )
inline

Provides access to the underlying C GObject.

const ClutterBoxLayout* Clutter::BoxLayout::gobj ( ) const
inline

Provides access to the underlying C GObject.

ClutterBoxLayout* Clutter::BoxLayout::gobj_copy ( )

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

void Clutter::BoxLayout::pack ( const Glib::RefPtr< Actor >&  p1,
bool  expand,
bool  x_fill,
bool  y_fill,
BoxAlignment  x_align,
BoxAlignment  y_align 
)

Packs actor inside the Clutter::Container associated to layout and sets the layout properties.

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout honours Clutter::Actor's align and expand properties. The preferred way is adding the actor with Clutter::Actor::add_child() and setting Clutter::Actor::property_x_align(), Clutter::Actor::property_y_align(), Clutter::Actor::property_x_expand() and Clutter::Actor::property_y_expand()
Parameters
actorA Clutter::Actor.
expandWhether the actor should expand.
x_fillWhether the actor should fill horizontally.
y_fillWhether the actor should fill vertically.
x_alignThe horizontal alignment policy for actor.
y_alignThe vertical alignment policy for actor.
Glib::PropertyProxy< guint > Clutter::BoxLayout::property_easing_duration ( )

The duration of the animations.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< guint > Clutter::BoxLayout::property_easing_duration ( ) const

The duration of the animations.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< unsigned long > Clutter::BoxLayout::property_easing_mode ( )

The easing mode of the animations.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< unsigned long > Clutter::BoxLayout::property_easing_mode ( ) const

The easing mode of the animations.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< bool > Clutter::BoxLayout::property_homogeneous ( )

Whether the layout should be homogeneous, i.e.

all childs get the same size.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< bool > Clutter::BoxLayout::property_homogeneous ( ) const

Whether the layout should be homogeneous, i.e.

all childs get the same size.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< Orientation > Clutter::BoxLayout::property_orientation ( )

The orientation of the layout.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< Orientation > Clutter::BoxLayout::property_orientation ( ) const

The orientation of the layout.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< bool > Clutter::BoxLayout::property_pack_start ( )

Whether to pack items at the start of the box.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< bool > Clutter::BoxLayout::property_pack_start ( ) const

Whether to pack items at the start of the box.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< guint > Clutter::BoxLayout::property_spacing ( )

Spacing between children.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< guint > Clutter::BoxLayout::property_spacing ( ) const

Spacing between children.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< bool > Clutter::BoxLayout::property_use_animations ( )

Whether layout changes should be animated.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< bool > Clutter::BoxLayout::property_use_animations ( ) const

Whether layout changes should be animated.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< bool > Clutter::BoxLayout::property_vertical ( )

Whether the layout should be vertical, rather than horizontal.

Deprecated:
Use orientation instead.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< bool > Clutter::BoxLayout::property_vertical ( ) const

Whether the layout should be vertical, rather than horizontal.

Deprecated:
Use orientation instead.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
void Clutter::BoxLayout::set_alignment ( const Glib::RefPtr< Actor >&  child,
BoxAlignment  x_align,
BoxAlignment  y_align 
)

Sets the horizontal and vertical alignment policies for actor inside layout.

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_align() and Clutter::Actor::property_y_align() properies
Deprecated:
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_alignHorizontal alignment policy for actor.
y_alignVertical alignment policy for actor.
void Clutter::BoxLayout::set_easing_duration ( guint  msecs)

Sets the duration of the animations used by layout when animating changes in the layout properties.

Since cluttermm 1.2:

Deprecated: 1.12: The layout manager will honour the easing state of the children when allocating them.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Parameters
msecsThe duration of the animations, in milliseconds.
void Clutter::BoxLayout::set_easing_mode ( gulong  mode)

Sets the easing mode to be used by layout when animating changes in layout properties.

Since cluttermm 1.2:

Deprecated: 1.12: The layout manager will honour the easing state of the children when allocating them.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Parameters
modeAn easing mode, either from Clutter::AnimationMode or a logical id from Clutter::Alpha::register_func().
void Clutter::BoxLayout::set_expand ( const Glib::RefPtr< Actor >&  child,
bool  expand 
)

Sets whether actor should expand inside layout.

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_expand() and Clutter::Actor::property_y_expand() properies
Deprecated:
Use Actor's x-expand and y-expand properties instead.
Parameters
actorA Clutter::Actor child of layout.
expandWhether actor should expand.
void Clutter::BoxLayout::set_fill ( const Glib::RefPtr< Actor >&  child,
bool  x_fill,
bool  y_fill 
)

Sets the horizontal and vertical fill policies for actor inside layout.

Since cluttermm 1.2:
Deprecated: 1.12: Clutter::BoxLayout will honour Clutter::Actor's Clutter::Actor::property_x_align() and Clutter::Actor::property_y_align() properies
Deprecated:
Use Actor's x-align and y-align properties instead.
Parameters
actorA Clutter::Actor child of layout.
x_fillWhether actor should fill horizontally the allocated space.
y_fillWhether actor should fill vertically the allocated space.
void Clutter::BoxLayout::set_homogeneous ( bool  homogeneous)

Sets whether the size of layout children should be homogeneous.

Since cluttermm 1.4:
Parameters
homogeneoustrue if the layout should be homogeneous.
void Clutter::BoxLayout::set_orientation ( Orientation  orientation)

Sets the orientation of the Clutter::BoxLayout layout manager.

Since cluttermm 1.12:
Parameters
orientationThe orientation of the Clutter::BoxLayout.
void Clutter::BoxLayout::set_pack_start ( bool  pack_start)

Sets whether children of layout should be layed out by appending them or by prepending them.

Since cluttermm 1.2:
Parameters
pack_starttrue if the layout should pack children at the beginning of the layout.
void Clutter::BoxLayout::set_spacing ( guint  spacing)

Sets the spacing between children of layout.

Since cluttermm 1.2:
Parameters
spacingThe spacing between children of the layout, in pixels.
void Clutter::BoxLayout::set_use_animations ( bool  animate)

Sets whether layout should animate changes in the layout properties.

The duration of the animations is controlled by set_easing_duration(); the easing mode to be used by the animations is controlled by set_easing_mode().

Enabling animations will override the easing state of each child of the actor using layout, and will use the Clutter::BoxLayout::property_easing_mode() and Clutter::BoxLayout::property_easing_duration() properties instead.

Since cluttermm 1.2:

Deprecated: 1.12: The layout manager will honour the easing state of the children when allocating them.

Deprecated:
The layout manager will honour the easing state of the children when allocating them.
Parameters
animatetrue if the layout should use animations.
void Clutter::BoxLayout::set_vertical ( bool  vertical)

Sets whether layout should arrange its children vertically alongside the Y axis, instead of horizontally alongside the X axis.

Since cluttermm 1.2:

Deprecated: 1.12: Use set_orientation() instead.

Deprecated:
Use set_orientation() instead.
Parameters
verticaltrue if the layout should be vertical.

Friends And Related Function Documentation

Glib::RefPtr< Clutter::BoxLayout > wrap ( ClutterBoxLayout *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:
  • cluttermm/box-layout.h