BoxLayout
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_box_layout_get_type ()" ) ]
[
Version ( since =
"1.2" ) ]
public class BoxLayout :
LayoutManager
The BoxLayout structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public uint easing_duration { get; set; }
The duration of the animations, in case
use_animations is set to true
.
- public ulong easing_mode { get; set; }
The easing mode for the animations, in case
use_animations is set to true
.
- public bool homogeneous { get; set; }
Whether the BoxLayout should arrange its
children homogeneously, i.e. all children get the same size
- public Orientation orientation { get; set; }
The orientation of the BoxLayout, either
horizontal or vertical
- public bool pack_start { get; set; }
Whether the BoxLayout should pack items at
the start or append them at the end
- public uint spacing { get; set; }
The spacing between children of the BoxLayout
, in pixels
- public bool use_animations { get; set; }
Whether the BoxLayout should animate
changes in the layout, overriding the easing state of the children.
- public bool vertical { get; set; }
Whether the BoxLayout should arrange its
children alongside the Y axis, instead of alongside the X axis
Creation methods:
Methods:
- public void get_alignment (Actor actor, out BoxAlignment x_align, out BoxAlignment y_align)
Retrieves the horizontal and vertical alignment policies for
actor
as set using pack or
set_alignment
- public uint get_easing_duration ()
- public ulong get_easing_mode ()
- public bool get_expand (Actor actor)
Retrieves whether actor
should expand inside
this
- public void get_fill (Actor actor, out bool x_fill, out bool y_fill)
Retrieves the horizontal and vertical fill policies for actor
as set using pack or
set_fill
- public bool get_homogeneous ()
Retrieves if the children sizes are allocated homogeneously.
- public Orientation get_orientation ()
Retrieves the orientation of the this
.
- public bool get_pack_start ()
- public uint get_spacing ()
- public bool get_use_animations ()
Retrieves whether this should
animate changes in the layout properties.
- public bool get_vertical ()
Retrieves the orientation of the this
as set using the set_vertical function
- public void pack (Actor actor, bool expand, bool x_fill, bool y_fill, BoxAlignment x_align, BoxAlignment y_align)
Packs actor
inside the
Container associated to this and sets the
layout properties
- public void set_alignment (Actor actor, BoxAlignment x_align, BoxAlignment y_align)
Sets the horizontal and vertical alignment policies for actor
inside this
- public void set_easing_duration (uint msecs)
Sets the duration of the animations used by
this when animating changes in the layout properties.
- public void set_easing_mode (ulong mode)
Sets the easing mode to be used by this
when animating changes in layout properties.
- public void set_expand (Actor actor, bool expand)
Sets whether actor
should expand inside
this
- public void set_fill (Actor actor, bool x_fill, bool y_fill)
Sets the horizontal and vertical fill policies for actor
inside this
- public void set_homogeneous (bool homogeneous)
Sets whether the size of this
children should be homogeneous
- public void set_orientation (Orientation orientation)
Sets the orientation of the BoxLayout
layout manager.
- public void set_pack_start (bool pack_start)
Sets whether children of this should
be layed out by appending them or by prepending them
- public void set_spacing (uint spacing)
Sets the spacing between children of this
- public void set_use_animations (bool animate)
Sets whether this should animate
changes in the layout properties
- public void set_vertical (bool vertical)
Sets whether this should arrange its
children vertically alongside the Y axis, instead of horizontally alongside the X axis
Inherited Members:
All known members inherited from class Clutter.LayoutManager
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref