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 |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
dummy : void*
read only
|
Clutter.LayoutManager | |
easing_duration : Number
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 : Number
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 : Boolean
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 : Boolean
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
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned | |
spacing : Number
The spacing between children of the ClutterBoxLayout, in pixels
The spacing between children of the ClutterBoxLayout, in pixels
|
Clutter.BoxLayout | |
use_animations : Boolean
Whether the ClutterBoxLayout should animate changes in the layout properties
Whether the ClutterBoxLayout should animate changes in the layout properties
|
Clutter.BoxLayout | |
vertical : Boolean
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
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
|
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
Retrieves the GParamSpec for the layout property name inside the ClutterLayoutMeta sub-class used by manager
|
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
()
:
Number
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
Retrieves the ClutterLayoutMeta that the layout manager associated to the actor child of container, eventually by creating one if the ClutterLayoutManager supports layout properties
|
Clutter.LayoutManager | |
get_easing_duration
()
:
Number
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
()
:
Number
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
()
:
Boolean
Retrieves if the children sizes are allocated homogeneously.
Retrieves if the children sizes are allocated homogeneously.
|
Clutter.BoxLayout | |
get_pack_start
()
:
Boolean
Retrieves the value set using clutter_box_layout_set_pack_start()
Retrieves the value set using clutter_box_layout_set_pack_start()
|
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
()
:
Number
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
()
:
Boolean
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
()
:
Boolean
Retrieves the orientation of the layout as set using the clutter_box_layout_set_vertical() function
Retrieves the orientation of the layout as set using the clutter_box_layout_set_vertical() function
|
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 | |
list_child_properties
(Object out_values)
:
GObject.ParamSpec
Retrieves all the GParamSpecs for the layout properties stored inside the ClutterLayoutMeta sub-class used by manager
Retrieves all the GParamSpecs for the layout properties stored inside the ClutterLayoutMeta sub-class used by manager
|
Clutter.LayoutManager | |
pack
(Actor actor, Boolean expand, Boolean x_fill, Boolean 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
(Number 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
(Number 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
(Boolean 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
(Boolean 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
(Number spacing)
:
none
Sets the spacing between children of layout
Sets the spacing between children of layout
|
Clutter.BoxLayout | |
set_use_animations
(Boolean 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
(Boolean 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 |