GObject.Object
GObject.InitiallyUnowned
Clutter.LayoutManager
Clutter.FlowLayout
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterFlowLayout |
Class : | FlowLayout |
Extends: | Clutter.LayoutManager |
Properties | Defined By | |
---|---|---|
column_spacing : gfloat
The spacing between columns, in pixels; the value of this
property is honoured by horizontal non-overflowing layouts and by vertical overflowing layouts The spacing between columns, in pixels; the value of this
property is honoured by horizontal non-overflowing layouts and by vertical overflowing layouts |
Clutter.FlowLayout | |
dummy : void*
read only
|
Clutter.LayoutManager | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
homogeneous : gboolean
Whether each child inside the ClutterFlowLayout should receive
the same allocation Whether each child inside the ClutterFlowLayout should receive
the same allocation |
Clutter.FlowLayout | |
max_column_width : gfloat
Maximum width for each column in the layout, in pixels.
Maximum width for each column in the layout, in pixels. If
set to -1 the width will be the maximum child width |
Clutter.FlowLayout | |
max_row_height : gfloat
Maximum height for each row in the layout, in pixels.
Maximum height for each row in the layout, in pixels. If
set to -1 the width will be the maximum child height |
Clutter.FlowLayout | |
min_column_width : gfloat
Minimum width for each column in the layout, in pixels
Minimum width for each column in the layout, in pixels
|
Clutter.FlowLayout | |
min_row_height : gfloat
Minimum height for each row in the layout, in pixels
Minimum height for each row in the layout, in pixels
|
Clutter.FlowLayout | |
orientation : Clutter.FlowOrientation
The orientation of the ClutterFlowLayout.
The orientation of the ClutterFlowLayout. The children
of the layout will be layed out following the orientation. This property also controls the overflowing directions |
Clutter.FlowLayout | |
parent_instance : Clutter.LayoutManager
read only
|
Clutter.FlowLayout | |
priv : Clutter.FlowLayoutPrivate
read only
|
Clutter.FlowLayout | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
row_spacing : gfloat
The spacing between rows, in pixels; the value of this
property is honoured by vertical non-overflowing layouts and by horizontal overflowing layouts The spacing between rows, in pixels; the value of this
property is honoured by vertical non-overflowing layouts and by horizontal overflowing layouts |
Clutter.FlowLayout |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.FlowLayout
(Object properties)
Create a new Clutter.FlowLayout
Create a new Clutter.FlowLayout
|
||
Create a new Clutter.FlowLayout
Create a new Clutter.FlowLayout
|
||
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 | |
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_column_spacing
()
:
gfloat
Retrieves the spacing between columns
in pixels
Retrieves the spacing between columns
in pixels
|
Clutter.FlowLayout | |
get_column_width
()
:
Object
|
Clutter.FlowLayout | |
get_homogeneous
()
:
gboolean
Retrieves whether the layout is homogeneous
Retrieves whether the layout is homogeneous
|
Clutter.FlowLayout | |
get_orientation
()
:
Clutter.FlowOrientation
Retrieves the orientation of the layout
Retrieves the orientation of the layout
|
Clutter.FlowLayout | |
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_row_height
()
:
Object
|
Clutter.FlowLayout | |
get_row_spacing
()
:
gfloat
Retrieves the spacing between rows
in pixels
Retrieves the spacing between rows
in pixels
|
Clutter.FlowLayout | |
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 | |
set_column_spacing
(gfloat spacing)
:
none
Sets the space between columns, in pixels
Sets the space between columns, in pixels
|
Clutter.FlowLayout | |
Clutter.FlowLayout | ||
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_homogeneous
(gboolean homogeneous)
:
none
Sets whether the layout should allocate the same space for
each child
Sets whether the layout should allocate the same space for
each child
|
Clutter.FlowLayout | |
set_orientation
(FlowOrientation orientation)
:
none
Sets the orientation of the flow layout
The orientation controls the direction used to allocate orientation also controls the direction of the overflowing
Sets the orientation of the flow layout
The orientation controls the direction used to allocate orientation also controls the direction of the overflowing
|
Clutter.FlowLayout | |
Clutter.FlowLayout | ||
set_row_spacing
(gfloat spacing)
:
none
Sets the spacing between rows, in pixels
Sets the spacing between rows, in pixels
|
Clutter.FlowLayout |
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 |