Class
ClutterBoxLayout
since: 1.2
Description [src]
class Clutter.BoxLayout : Clutter.LayoutManager {
/* No available fields */
}
The ClutterBoxLayout
structure contains only private data
and should be accessed using the provided API.
Available since: 1.2
Instance methods
clutter_box_layout_get_homogeneous
Retrieves if the children sizes are allocated homogeneously.
since: 1.4
clutter_box_layout_get_spacing
Retrieves the spacing set using clutter_box_layout_set_spacing()
since: 1.2
clutter_box_layout_set_homogeneous
Sets whether the size of layout
children should be homogeneous.
since: 1.4
clutter_box_layout_set_orientation
Sets the orientation of the ClutterBoxLayout
layout manager.
since: 1.12
Methods inherited from ClutterLayoutManager (12)
clutter_layout_manager_allocate
Allocates the children of container
given an area.
since: 1.2
clutter_layout_manager_child_get
Retrieves the values for a list of properties out of the
ClutterLayoutMeta
created by manager
and attached to the
child of a container
.
since: 1.2
clutter_layout_manager_child_get_property
Gets a property on the ClutterLayoutMeta
created by manager
and
attached to a child of container
.
since: 1.2
clutter_layout_manager_child_set
Sets a list of properties and their values on the ClutterLayoutMeta
associated by manager
to a child of container
.
since: 1.2
clutter_layout_manager_child_set_property
Sets a property on the ClutterLayoutMeta
created by manager
and
attached to a child of container
.
since: 1.2
clutter_layout_manager_find_child_property
Retrieves the GParamSpec
for the layout property name
inside
the ClutterLayoutMeta
sub-class used by manager
.
since: 1.2
clutter_layout_manager_get_child_meta
Retrieves the ClutterLayoutMeta
that the layout manager
associated
to the actor
child of container
, eventually by creating one if the
ClutterLayoutManager
supports layout properties.
since: 1.0
clutter_layout_manager_get_preferred_height
Computes the minimum and natural heights of the container
according
to manager
.
since: 1.2
clutter_layout_manager_get_preferred_width
Computes the minimum and natural widths of the container
according
to manager
.
since: 1.2
clutter_layout_manager_layout_changed
Emits the ClutterLayoutManager::layout-changed
signal on manager
.
since: 1.2
clutter_layout_manager_list_child_properties
Retrieves all the GParamSpec
s for the layout properties
stored inside the ClutterLayoutMeta
sub-class used by manager
.
since: 1.2
clutter_layout_manager_set_container
If the ClutterLayoutManager
sub-class allows it, allow
adding a weak reference of the container
using manager
from within the layout manager.
since: 1.2
Properties
Clutter.BoxLayout:homogeneous
Whether the ClutterBoxLayout
should arrange its children
homogeneously, i.e. all children get the same size.
since: 1.4
Clutter.BoxLayout:orientation
The orientation of the ClutterBoxLayout
, either horizontal
or vertical.
since: 1.12
Clutter.BoxLayout:spacing
The spacing between children of the ClutterBoxLayout
, in pixels.
since: 1.2
Signals
Signals inherited from ClutterLayoutManager (1)
ClutterLayoutManager::layout-changed
The ::layout-changed signal is emitted each time a layout manager
has been changed. Every ClutterActor
using the manager
instance
as a layout manager should connect a handler to the ::layout-changed
signal and queue a relayout on themselves:
since: 1.2
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.