Class: Clutter::TableLayout
- Inherits:
-
LayoutManager
- Object
- GObject::InitiallyUnowned
- LayoutManager
- Clutter::TableLayout
- Defined in:
- (unknown)
Overview
The Clutter::TableLayoutClass structure contains only private data and should be accessed using the provided API
Instance Method Summary collapse
-
#column_count ⇒ Integer
Retrieve the current number of columns in layout.
-
#column_spacing ⇒ Integer
The spacing between columns of the Clutter::TableLayout, in pixels.
-
#column_spacing=(column_spacing) ⇒ Integer
The spacing between columns of the Clutter::TableLayout, in pixels.
-
#easing_duration ⇒ Integer
The duration of the animations, in case Clutter::TableLayout:use-animations is set to true.
-
#easing_duration=(easing_duration) ⇒ Integer
The duration of the animations, in case Clutter::TableLayout:use-animations is set to true.
-
#easing_mode ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::TableLayout:use-animations is set to true.
-
#easing_mode=(easing_mode) ⇒ Clutter::gulong
The easing mode for the animations, in case Clutter::TableLayout: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_table_layout_pack() or clutter_table_layout_set_alignment().
-
#get_expand(actor, x_expand, y_expand) ⇒ nil
Retrieves the horizontal and vertical expand policies for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_expand().
-
#get_fill(actor, x_fill, y_fill) ⇒ nil
Retrieves the horizontal and vertical fill policies for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_fill().
-
#get_span(actor, column_span, row_span) ⇒ nil
Retrieves the row and column span for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_span().
-
#initialize ⇒ Clutter::LayoutManager
constructor
Creates a new Clutter::TableLayout layout manager.
-
#pack(actor, column, row) ⇒ nil
Packs actor inside the Clutter::Container associated to layout at the given row and column.
-
#row_count ⇒ Integer
Retrieve the current number rows in the layout.
-
#row_spacing ⇒ Integer
The spacing between rows of the Clutter::TableLayout, in pixels.
-
#row_spacing=(row_spacing) ⇒ Integer
The spacing between rows of the Clutter::TableLayout, in pixels.
-
#set_alignment(actor, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies for actor inside layout.
-
#set_expand(actor, x_expand, y_expand) ⇒ nil
Sets the horizontal and vertical expand policies for actor inside layout.
-
#set_fill(actor, x_fill, y_fill) ⇒ nil
Sets the horizontal and vertical fill policies for actor inside layout.
-
#set_span(actor, column_span, row_span) ⇒ nil
Sets the row and column span for actor inside layout.
-
#use_animations ⇒ Boolean
Retrieves whether layout should animate changes in the layout properties.
-
#use_animations=(use_animations) ⇒ Boolean
Whether the Clutter::TableLayout should animate changes in the layout properties.
-
#use_animations? ⇒ Boolean
Whether the Clutter::TableLayout should animate changes in the layout properties.
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::TableLayout layout manager
Instance Method Details
#column_count ⇒ Integer
Retrieve the current number of columns in layout
#column_spacing ⇒ Integer
The spacing between columns of the Clutter::TableLayout, in pixels
#column_spacing=(column_spacing) ⇒ Integer
The spacing between columns of the Clutter::TableLayout, in pixels
#easing_duration ⇒ Integer
The duration of the animations, in case Clutter::TableLayout: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::TableLayout: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::TableLayout: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::TableLayout: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_table_layout_pack() or clutter_table_layout_set_alignment().
#get_expand(actor, x_expand, y_expand) ⇒ nil
Retrieves the horizontal and vertical expand policies for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_expand()
#get_fill(actor, x_fill, y_fill) ⇒ nil
Retrieves the horizontal and vertical fill policies for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_fill()
#get_span(actor, column_span, row_span) ⇒ nil
Retrieves the row and column span for actor as set using clutter_table_layout_pack() or clutter_table_layout_set_span()
#pack(actor, column, row) ⇒ nil
Packs actor inside the Clutter::Container associated to layout at the given row and column.
#row_count ⇒ Integer
Retrieve the current number rows in the layout
#row_spacing ⇒ Integer
The spacing between rows of the Clutter::TableLayout, in pixels
#row_spacing=(row_spacing) ⇒ Integer
The spacing between rows of the Clutter::TableLayout, in pixels
#set_alignment(actor, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies for actor inside layout
#set_expand(actor, x_expand, y_expand) ⇒ nil
Sets the horizontal and vertical expand policies for actor inside layout
#set_fill(actor, x_fill, y_fill) ⇒ nil
Sets the horizontal and vertical fill policies for actor inside layout
#set_span(actor, column_span, row_span) ⇒ nil
Sets the row and column span for actor inside layout
#use_animations ⇒ Boolean
Retrieves whether layout should animate changes in the layout properties
Since clutter_table_layout_set_use_animations()
#use_animations=(use_animations) ⇒ Boolean
Whether the Clutter::TableLayout should animate changes in the layout properties.
By default, Clutter::TableLayout will honour the easing state of the children when allocating them. Setting this property to true will override the easing state with the layout manager's Clutter::TableLayout:easing-mode and #ClutterTableLayout:easing-duration properties.
#use_animations? ⇒ Boolean
Whether the Clutter::TableLayout should animate changes in the layout properties.
By default, Clutter::TableLayout will honour the easing state of the children when allocating them. Setting this property to true will override the easing state with the layout manager's Clutter::TableLayout:easing-mode and #ClutterTableLayout:easing-duration properties.