cluttermm: Clutter::BoxLayout Class Reference
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< Orientation > | property_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< LayoutMeta > | get_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 LayoutMeta > | get_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< Alpha > | begin_animation (guint duration, gulong mode) |
Begins an animation of duration milliseconds, using the provided easing mode. More... | |
Glib::RefPtr< const Alpha > | begin_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< LayoutMeta > | create_child_meta_vfunc (const Glib::RefPtr< Container >& container, const Glib::RefPtr< Actor >& actor) |
virtual Glib::RefPtr< Alpha > | begin_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< BoxLayout > | create () |
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::BoxLayout > | wrap (ClutterBoxLayout* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Related Functions inherited from Clutter::LayoutManager | |
Glib::RefPtr < Clutter::LayoutManager > | wrap (ClutterLayoutManager* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Constructor & Destructor Documentation
|
virtual |
|
protected |
Member Function Documentation
|
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
-
actor A Clutter::Actor child of layout. x_align Return location for the horizontal alignment policy. y_align Return location for the vertical alignment policy.
guint Clutter::BoxLayout::get_easing_duration | ( | ) | const |
Retrieves the duration set using set_easing_duration()
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()
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
-
actor A 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
-
actor A Clutter::Actor child of layout. x_fill Return location for the horizontal fill policy. y_fill Return location for the vertical fill policy.
bool Clutter::BoxLayout::get_homogeneous | ( | ) | const |
Retrieves if the children sizes are allocated homogeneously.
- Returns
true
if the Clutter::BoxLayout is arranging its children homogeneously, andfalse
otherwise.
Orientation Clutter::BoxLayout::get_orientation | ( | ) | const |
Retrieves the orientation of the layout.
- Returns
- The orientation of the layout.
bool Clutter::BoxLayout::get_pack_start | ( | ) | const |
Retrieves the value set using set_pack_start()
- Returns
true
if the Clutter::BoxLayout should pack children at the beginning of the layout, andfalse
otherwise.
guint Clutter::BoxLayout::get_spacing | ( | ) | const |
Retrieves the spacing set using set_spacing()
- Returns
- The spacing between children of the Clutter::BoxLayout.
|
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.
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.
Deprecated: 1.12: Use get_orientation() instead
- Deprecated:
- Use get_orientation() instead.
- Returns
true
if the Clutter::BoxLayout is arranging its children vertically, andfalse
otherwise.
|
inline |
Provides access to the underlying C GObject.
|
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
-
actor A Clutter::Actor. expand Whether the actor should expand. x_fill Whether the actor should fill horizontally. y_fill Whether the actor should fill vertically. x_align The horizontal alignment policy for actor. y_align The 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
-
actor A Clutter::Actor child of layout. x_align Horizontal alignment policy for actor. y_align Vertical 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.
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
-
msecs The 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.
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
-
mode An 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
-
actor A Clutter::Actor child of layout. expand Whether 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
-
actor A Clutter::Actor child of layout. x_fill Whether actor should fill horizontally the allocated space. y_fill Whether actor should fill vertically the allocated space.
void Clutter::BoxLayout::set_homogeneous | ( | bool | homogeneous) |
Sets whether the size of layout children should be homogeneous.
- Parameters
-
homogeneous true
if the layout should be homogeneous.
void Clutter::BoxLayout::set_orientation | ( | Orientation | orientation) |
Sets the orientation of the Clutter::BoxLayout layout manager.
- Parameters
-
orientation The 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.
- Parameters
-
pack_start true
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.
- Parameters
-
spacing The 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.
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
-
animate true
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.
Deprecated: 1.12: Use set_orientation() instead.
- Deprecated:
- Use set_orientation() instead.
- Parameters
-
vertical true
if the layout should be vertical.
Friends And Related Function Documentation
|
related |
A Glib::wrap() method for this object.
- Parameters
-
object The C instance. take_copy False 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