Class: Clutter::BinLayout

Inherits:
LayoutManager
  • Object
show all
Defined in:
(unknown)

Overview

The Clutter::BinLayoutClass structure contains only private data and should be accessed using the provided API

Instance Method Summary collapse

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

Parameters:

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

Parameters:

Returns:

  • (nil)

#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

Parameters:

Returns:

  • (nil)

#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

Parameters:

Returns:

  • (nil)

#x_alignClutter::BinAlignment

The default horizontal alignment policy for actors managed by the Clutter::BinLayout

Returns:

#x_align=(x_align) ⇒ Clutter::BinAlignment

The default horizontal alignment policy for actors managed by the Clutter::BinLayout

Parameters:

Returns:

#y_alignClutter::BinAlignment

The default vertical alignment policy for actors managed by the Clutter::BinLayout

Returns:

#y_align=(y_align) ⇒ Clutter::BinAlignment

The default vertical alignment policy for actors managed by the Clutter::BinLayout

Parameters:

Returns: