Class: Clutter::BoxLayout
- Inherits:
-
LayoutManager
- Object
- GObject::InitiallyUnowned
- LayoutManager
- Clutter::BoxLayout
- Defined in:
- (unknown)
Overview
The Clutter::BoxLayoutClass structure contains only private data and should be accessed using the provided API
Instance Method Summary collapse
-
#easing_duration ⇒ Integer
The duration of the animations, in case Clutter::BoxLayout:use-animations is set to true.
-
#easing_duration=(easing_duration) ⇒ Integer
The duration of the animations, in case Clutter::BoxLayout:use-animations is set to true.
-
#easing_mode ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::BoxLayout:use-animations is set to true.
-
#easing_mode=(easing_mode) ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::BoxLayout:use-animations is set to true.
-
#get_alignment(actor, x_align, y_align) ⇒ nil
Retrieves the horizontal and vertical alignment policies for actor as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment().
-
#get_expand(actor) ⇒ Boolean
Retrieves whether actor should expand inside layout.
-
#get_fill(actor, x_fill, y_fill) ⇒ nil
Retrieves the horizontal and vertical fill policies for actor as set using clutter_box_layout_pack() or clutter_box_layout_set_fill().
-
#homogeneous ⇒ Boolean
Retrieves if the children sizes are allocated homogeneously.
-
#homogeneous=(homogeneous) ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children homogeneously, i.e.
-
#homogeneous? ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children homogeneously, i.e.
-
#initialize ⇒ Clutter::LayoutManager
constructor
Creates a new Clutter::BoxLayout layout manager.
-
#orientation ⇒ Clutter::Orientation
The orientation of the Clutter::BoxLayout, either horizontal or vertical.
-
#orientation=(orientation) ⇒ Clutter::Orientation
The orientation of the Clutter::BoxLayout, either horizontal or vertical.
-
#pack(actor, expand, x_fill, y_fill, x_align, y_align) ⇒ nil
Packs actor inside the Clutter::Container associated to layout and sets the layout properties.
-
#pack_start ⇒ Boolean
Retrieves the value set using clutter_box_layout_set_pack_start().
-
#pack_start=(pack_start) ⇒ Boolean
Whether the Clutter::BoxLayout should pack items at the start or append them at the end.
-
#pack_start? ⇒ Boolean
Whether the Clutter::BoxLayout should pack items at the start or append them at the end.
-
#set_alignment(actor, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies for actor inside layout.
-
#set_expand(actor, expand) ⇒ nil
Sets whether actor should expand inside layout.
-
#set_fill(actor, x_fill, y_fill) ⇒ nil
Sets the horizontal and vertical fill policies for actor inside layout.
-
#spacing ⇒ Integer
The spacing between children of the Clutter::BoxLayout, in pixels.
-
#spacing=(spacing) ⇒ Integer
The spacing between children of the Clutter::BoxLayout, in pixels.
-
#use_animations ⇒ Boolean
Retrieves whether layout should animate changes in the layout properties.
-
#use_animations=(use_animations) ⇒ Boolean
Whether the Clutter::BoxLayout should animate changes in the layout, overriding the easing state of the children.
-
#use_animations? ⇒ Boolean
Whether the Clutter::BoxLayout should animate changes in the layout, overriding the easing state of the children.
-
#vertical ⇒ Boolean
Retrieves the orientation of the layout as set using the clutter_box_layout_set_vertical() function.
-
#vertical=(vertical) ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children alongside the Y axis, instead of alongside the X axis.
-
#vertical? ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children alongside the Y axis, instead of alongside the X axis.
Methods inherited from LayoutManager
#allocate, #animation_progress, #begin_animation, #child_get, #child_get_property, #child_set, #child_set_property, #container=, #end_animation, #find_child_property, #get_child_meta, #get_preferred_height, #get_preferred_width, #layout_changed, #list_child_properties
Constructor Details
#initialize ⇒ Clutter::LayoutManager
Creates a new Clutter::BoxLayout layout manager
Instance Method Details
#easing_duration ⇒ Integer
The duration of the animations, in case Clutter::BoxLayout:use-animations is set to true.
The duration is expressed in milliseconds.
#easing_duration=(easing_duration) ⇒ Integer
The duration of the animations, in case Clutter::BoxLayout:use-animations is set to true.
The duration is expressed in milliseconds.
#easing_mode ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::BoxLayout:use-animations is set to true.
The easing mode has the same semantics of Clutter::Animation:mode: it can either be a value from the Clutter::AnimationMode enumeration, like %CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by clutter_alpha_register_func().
The default value is %CLUTTER_EASE_OUT_CUBIC.
#easing_mode=(easing_mode) ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::BoxLayout:use-animations is set to true.
The easing mode has the same semantics of Clutter::Animation:mode: it can either be a value from the Clutter::AnimationMode enumeration, like %CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by clutter_alpha_register_func().
The default value is %CLUTTER_EASE_OUT_CUBIC.
#get_alignment(actor, x_align, y_align) ⇒ nil
Retrieves the horizontal and vertical alignment policies for actor as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()
#get_expand(actor) ⇒ Boolean
Retrieves whether actor should expand inside layout
#get_fill(actor, x_fill, y_fill) ⇒ nil
Retrieves the horizontal and vertical fill policies for actor as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()
#homogeneous ⇒ Boolean
Retrieves if the children sizes are allocated homogeneously.
#homogeneous=(homogeneous) ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children homogeneously, i.e. all children get the same size
#homogeneous? ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children homogeneously, i.e. all children get the same size
#orientation ⇒ Clutter::Orientation
The orientation of the Clutter::BoxLayout, either horizontal or vertical
#orientation=(orientation) ⇒ Clutter::Orientation
The orientation of the Clutter::BoxLayout, either horizontal or vertical
#pack(actor, expand, x_fill, y_fill, x_align, y_align) ⇒ nil
Packs actor inside the Clutter::Container associated to layout and sets the layout properties
#pack_start ⇒ Boolean
Retrieves the value set using clutter_box_layout_set_pack_start()
#pack_start=(pack_start) ⇒ Boolean
Whether the Clutter::BoxLayout should pack items at the start or append them at the end
#pack_start? ⇒ Boolean
Whether the Clutter::BoxLayout should pack items at the start or append them at the end
#set_alignment(actor, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies for actor inside layout
#set_expand(actor, expand) ⇒ nil
Sets whether actor should expand inside layout
#set_fill(actor, x_fill, y_fill) ⇒ nil
Sets the horizontal and vertical fill policies for actor inside layout
#spacing ⇒ Integer
The spacing between children of the Clutter::BoxLayout, in pixels
#spacing=(spacing) ⇒ Integer
The spacing between children of the Clutter::BoxLayout, in pixels
#use_animations ⇒ Boolean
Retrieves whether layout should animate changes in the layout properties.
#use_animations=(use_animations) ⇒ Boolean
Whether the Clutter::BoxLayout should animate changes in the layout, overriding the easing state of the children.
#use_animations? ⇒ Boolean
Whether the Clutter::BoxLayout should animate changes in the layout, overriding the easing state of the children.
#vertical ⇒ Boolean
Retrieves the orientation of the layout as set using the clutter_box_layout_set_vertical() function
#vertical=(vertical) ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children alongside the Y axis, instead of alongside the X axis
#vertical? ⇒ Boolean
Whether the Clutter::BoxLayout should arrange its children alongside the Y axis, instead of alongside the X axis