GObject.Object
GObject.InitiallyUnowned
Clutter.LayoutManager
Clutter.BoxLayout
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBoxLayout |
Class : | BoxLayout |
Extends: | Clutter.LayoutManager |
Properties | Defined By | |
---|---|---|
dummy : void*
read only
|
Clutter.LayoutManager | |
easing_duration : guint32
The duration of the animations, in case ClutterBoxLayout:use-animations
is set to TRUE The duration is expressed in milliseconds The duration of the animations, in case ClutterBoxLayout:use-animations
is set to TRUE The duration is expressed in milliseconds |
Clutter.BoxLayout | |
easing_mode : guint32
The easing mode for the animations, in case
ClutterBoxLayout:use-animations is set to TRUE either be a value from the ClutterAnimationMode 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 The easing mode for the animations, in case
ClutterBoxLayout:use-animations is set to TRUE either be a value from the ClutterAnimationMode 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 |
Clutter.BoxLayout | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
homogeneous : gboolean
Whether the ClutterBoxLayout should arrange its children
homogeneously, i.e. Whether the ClutterBoxLayout should arrange its children
homogeneously, i.e. all childs get the same size |
Clutter.BoxLayout | |
pack_start : gboolean
Whether the ClutterBoxLayout should pack items at the start
or append them at the end Whether the ClutterBoxLayout should pack items at the start
or append them at the end |
Clutter.BoxLayout | |
parent_instance : Clutter.LayoutManager
read only
|
Clutter.BoxLayout | |
priv : Clutter.BoxLayoutPrivate
read only
|
Clutter.BoxLayout | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
spacing : guint32
The spacing between children of the ClutterBoxLayout, in pixels
The spacing between children of the ClutterBoxLayout, in pixels
|
Clutter.BoxLayout | |
use_animations : gboolean
Whether the ClutterBoxLayout should animate changes in the
layout properties Whether the ClutterBoxLayout should animate changes in the
layout properties |
Clutter.BoxLayout | |
vertical : gboolean
Whether the ClutterBoxLayout should arrange its children
alongside the Y axis, instead of alongside the X axis Whether the ClutterBoxLayout should arrange its children
alongside the Y axis, instead of alongside the X axis |
Clutter.BoxLayout |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.BoxLayout
(Object properties)
Create a new Clutter.BoxLayout
Create a new Clutter.BoxLayout
|
||
Allocates the children of container given an area
See also clutter_actor_allocate()
Allocates the children of container given an area
See also clutter_actor_allocate()
|
Clutter.LayoutManager | |
Begins an animation of duration milliseconds, using the provided
easing mode The easing mode can be specified either as a ClutterAnimationMode or as a logical id returned by clutter_alpha_register_func() The result of this function depends on the manager implementation layout manager; the returned instance is owned by the layout manager and should not be unreferenced
Begins an animation of duration milliseconds, using the provided
easing mode The easing mode can be specified either as a ClutterAnimationMode or as a logical id returned by clutter_alpha_register_func() The result of this function depends on the manager implementation layout manager; the returned instance is owned by the layout manager and should not be unreferenced
|
Clutter.LayoutManager | |
Gets a property on the ClutterLayoutMeta created by manager and
attached to a child of container The GValue must already be initialized to the type of the property and has to be unset with g_value_unset() after extracting the real value out of it
Gets a property on the ClutterLayoutMeta created by manager and
attached to a child of container The GValue must already be initialized to the type of the property and has to be unset with g_value_unset() after extracting the real value out of it
|
Clutter.LayoutManager | |
Sets a property on the ClutterLayoutMeta created by manager and
attached to a child of container
Sets a property on the ClutterLayoutMeta created by manager and
attached to a child of container
|
Clutter.LayoutManager | |
end_animation
()
:
none
Ends an animation started by clutter_layout_manager_begin_animation()
The result of this call depends on the manager implementation
Ends an animation started by clutter_layout_manager_begin_animation()
The result of this call depends on the manager implementation
|
Clutter.LayoutManager | |
find_child_property
(String name)
:
GObject.ParamSpec
Retrieves the GParamSpec for the layout property name inside
the ClutterLayoutMeta sub-class used by manager or NULL if no property with that name exists.
Retrieves the GParamSpec for the layout property name inside
the ClutterLayoutMeta sub-class used by manager or NULL if no property with that name exists. The returned GParamSpec is owned by the layout manager and should not be modified or freed
|
Clutter.LayoutManager | |
Retrieves the horizontal and vertical alignment policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()
Retrieves the horizontal and vertical alignment policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()
|
Clutter.BoxLayout | |
get_animation_progress
()
:
gdouble
Retrieves the progress of the animation, if one has been started by
clutter_layout_manager_begin_animation() The returned value has the same semantics of the ClutterAlpha:alpha value
Retrieves the progress of the animation, if one has been started by
clutter_layout_manager_begin_animation() The returned value has the same semantics of the ClutterAlpha:alpha value
|
Clutter.LayoutManager | |
Retrieves the ClutterLayoutMeta that the layout manager associated
to the actor child of container, eventually by creating one if the ClutterLayoutManager supports layout properties does not have layout properties
Retrieves the ClutterLayoutMeta that the layout manager associated
to the actor child of container, eventually by creating one if the ClutterLayoutManager supports layout properties does not have layout properties
|
Clutter.LayoutManager | |
get_easing_duration
()
:
guint32
Retrieves the duration set using clutter_box_layout_set_easing_duration()
Retrieves the duration set using clutter_box_layout_set_easing_duration()
|
Clutter.BoxLayout | |
get_easing_mode
()
:
guint32
Retrieves the easing mode set using clutter_box_layout_set_easing_mode()
Retrieves the easing mode set using clutter_box_layout_set_easing_mode()
|
Clutter.BoxLayout | |
Retrieves whether actor should expand inside layout
Retrieves whether actor should expand inside layout
|
Clutter.BoxLayout | |
Retrieves the horizontal and vertical fill policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()
Retrieves the horizontal and vertical fill policies for actor
as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()
|
Clutter.BoxLayout | |
get_homogeneous
()
:
gboolean
Retrieves if the children sizes are allocated homogeneously.
Retrieves if the children sizes are allocated homogeneously.
homogeneously, and FALSE otherwise
|
Clutter.BoxLayout | |
get_pack_start
()
:
gboolean
Retrieves the value set using clutter_box_layout_set_pack_start()
at the beginning of the layout, and FALSE otherwise
Retrieves the value set using clutter_box_layout_set_pack_start()
at the beginning of the layout, and FALSE otherwise
|
Clutter.BoxLayout | |
Computes the minimum and natural heights of the container according
to manager.
Computes the minimum and natural heights of the container according
to manager. See also clutter_actor_get_preferred_height()
|
Clutter.LayoutManager | |
Computes the minimum and natural widths of the container according
to manager.
Computes the minimum and natural widths of the container according
to manager. See also clutter_actor_get_preferred_width()
|
Clutter.LayoutManager | |
get_spacing
()
:
guint32
Retrieves the spacing set using clutter_box_layout_set_spacing()
Retrieves the spacing set using clutter_box_layout_set_spacing()
|
Clutter.BoxLayout | |
get_use_animations
()
:
gboolean
Retrieves whether layout should animate changes in the layout properties
Since clutter_box_layout_set_use_animations()
Retrieves whether layout should animate changes in the layout properties
Since clutter_box_layout_set_use_animations()
|
Clutter.BoxLayout | |
get_vertical
()
:
gboolean
Retrieves the orientation of the layout as set using the
clutter_box_layout_set_vertical() function vertically, and FALSE otherwise
Retrieves the orientation of the layout as set using the
clutter_box_layout_set_vertical() function vertically, and FALSE otherwise
|
Clutter.BoxLayout | |
layout_changed
()
:
none
Emits the ClutterLayoutManager::layout-changed signal on manager
This function should only be called by implementations of the ClutterLayoutManager class
Emits the ClutterLayoutManager::layout-changed signal on manager
This function should only be called by implementations of the ClutterLayoutManager class
|
Clutter.LayoutManager | |
Retrieves all the GParamSpecs for the layout properties
stored inside the ClutterLayoutMeta sub-class used by manager array of GParamSpecs. |
Clutter.LayoutManager | |
pack
(Actor actor, gboolean expand, gboolean x_fill, gboolean y_fill, BoxAlignment x_align, BoxAlignment y_align)
:
none
Packs actor inside the ClutterContainer associated to layout
and sets the layout properties
Packs actor inside the ClutterContainer associated to layout
and sets the layout properties
|
Clutter.BoxLayout | |
Sets the horizontal and vertical alignment policies for actor
inside layout
Sets the horizontal and vertical alignment policies for actor
inside layout
|
Clutter.BoxLayout | |
set_container
(Container container)
:
none
If the ClutterLayoutManager sub-class allows it, allow
adding a weak reference of the container using manager from within the layout manager The layout manager should not increase the reference count of the container
If the ClutterLayoutManager sub-class allows it, allow
adding a weak reference of the container using manager from within the layout manager The layout manager should not increase the reference count of the container
|
Clutter.LayoutManager | |
set_easing_duration
(guint32 msecs)
:
none
Sets the duration of the animations used by layout when animating changes
in the layout properties Use clutter_box_layout_set_use_animations() to enable and disable the animations
Sets the duration of the animations used by layout when animating changes
in the layout properties Use clutter_box_layout_set_use_animations() to enable and disable the animations
|
Clutter.BoxLayout | |
set_easing_mode
(guint32 mode)
:
none
Sets the easing mode to be used by layout when animating changes in layout
properties Use clutter_box_layout_set_use_animations() to enable and disable the animations
Sets the easing mode to be used by layout when animating changes in layout
properties Use clutter_box_layout_set_use_animations() to enable and disable the animations
|
Clutter.BoxLayout | |
Sets whether actor should expand inside layout
Sets whether actor should expand inside layout
|
Clutter.BoxLayout | |
Sets the horizontal and vertical fill policies for actor
inside layout
Sets the horizontal and vertical fill policies for actor
inside layout
|
Clutter.BoxLayout | |
set_homogeneous
(gboolean homogeneous)
:
none
Sets whether the size of layout children should be
homogeneous
Sets whether the size of layout children should be
homogeneous
|
Clutter.BoxLayout | |
set_pack_start
(gboolean pack_start)
:
none
Sets whether children of layout should be layed out by appending
them or by prepending them
Sets whether children of layout should be layed out by appending
them or by prepending them
|
Clutter.BoxLayout | |
set_spacing
(guint32 spacing)
:
none
Sets the spacing between children of layout
Sets the spacing between children of layout
|
Clutter.BoxLayout | |
set_use_animations
(gboolean animate)
:
none
Sets whether layout should animate changes in the layout properties
The duration of the animations is controlled by clutter_box_layout_set_easing_duration(); the easing mode to be used by the animations is controlled by clutter_box_layout_set_easing_mode()
Sets whether layout should animate changes in the layout properties
The duration of the animations is controlled by clutter_box_layout_set_easing_duration(); the easing mode to be used by the animations is controlled by clutter_box_layout_set_easing_mode()
|
Clutter.BoxLayout | |
set_vertical
(gboolean vertical)
:
none
Sets whether layout should arrange its children vertically alongside
the Y axis, instead of horizontally alongside the X axis
Sets whether layout should arrange its children vertically alongside
the Y axis, instead of horizontally alongside the X axis
|
Clutter.BoxLayout |
Event | Defined By | |
---|---|---|
layout_changed (LayoutManager self)
:
none
The ::layout-changed signal is emitted each time a layout manager
has been 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: |[ static void layout_changed (ClutterLayoutManager *manager, ClutterActor *self) { clutter_actor_queue_relayout (self); } ... self->manager = g_object_ref_sink (manager); g_signal_connect (self->manager, "layout-changed", G_CALLBACK (layout_changed), self); ]| Sub-classes of ClutterLayoutManager that implement a layout that can be controlled or changed using parameters should emit the ::layout-changed signal whenever one of the parameters changes, by using clutter_layout_manager_layout_changed().
|
Clutter.LayoutManager |