Class: Clutter::BinLayout
- Inherits:
-
LayoutManager
- Object
- GObject::InitiallyUnowned
- LayoutManager
- Clutter::BinLayout
- Defined in:
- (unknown)
Overview
The Clutter::BinLayoutClass structure contains only private data and should be accessed using the provided API
Instance Method Summary collapse
-
#add(child, x_align, y_align) ⇒ nil
Adds a Clutter::Actor to the container using self and sets the alignment policies for it.
-
#get_alignment(child, x_align, y_align) ⇒ nil
Retrieves the horizontal and vertical alignment policies for a child of self.
-
#initialize(x_align, y_align) ⇒ Clutter::LayoutManager
constructor
Creates a new Clutter::BinLayout layout manager.
-
#set_alignment(child, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies to be applied to a child of self.
-
#x_align ⇒ Clutter::BinAlignment
The default horizontal alignment policy for actors managed by the Clutter::BinLayout.
-
#x_align=(x_align) ⇒ Clutter::BinAlignment
The default horizontal alignment policy for actors managed by the Clutter::BinLayout.
-
#y_align ⇒ Clutter::BinAlignment
The default vertical alignment policy for actors managed by the Clutter::BinLayout.
-
#y_align=(y_align) ⇒ Clutter::BinAlignment
The default vertical alignment policy for actors managed by the Clutter::BinLayout.
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(x_align, y_align) ⇒ Clutter::LayoutManager
Creates a new Clutter::BinLayout layout manager
Instance Method Details
#add(child, x_align, y_align) ⇒ nil
Adds a Clutter::Actor to the container using self and sets the alignment policies for it
This function is equivalent to clutter_container_add_actor() and clutter_layout_manager_child_set_property() but it does not require a pointer to the Clutter::Container associated to the Clutter::BinLayout
#get_alignment(child, x_align, y_align) ⇒ nil
Retrieves the horizontal and vertical alignment policies for a child of self
If child is nil the default alignment policies will be returned instead
#set_alignment(child, x_align, y_align) ⇒ nil
Sets the horizontal and vertical alignment policies to be applied to a child of self
If child is nil then the x_align and y_align values will be set as the default alignment policies
#x_align ⇒ Clutter::BinAlignment
The default horizontal alignment policy for actors managed by the Clutter::BinLayout
#x_align=(x_align) ⇒ Clutter::BinAlignment
The default horizontal alignment policy for actors managed by the Clutter::BinLayout
#y_align ⇒ Clutter::BinAlignment
The default vertical alignment policy for actors managed by the Clutter::BinLayout
#y_align=(y_align) ⇒ Clutter::BinAlignment
The default vertical alignment policy for actors managed by the Clutter::BinLayout