GObject.Object
GObject.InitiallyUnowned
Clutter.LayoutManager
Clutter.BinLayout
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBinLayout |
Class : | BinLayout |
Extends: | Clutter.LayoutManager |
Properties | Defined By | |
---|---|---|
dummy : void*
read only
|
Clutter.LayoutManager | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
parent_instance : Clutter.LayoutManager
read only
|
Clutter.BinLayout | |
priv : Clutter.BinLayoutPrivate
read only
|
Clutter.BinLayout | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
x_align : Clutter.BinAlignment
The default horizontal alignment policy for actors managed
by the ClutterBinLayout The default horizontal alignment policy for actors managed
by the ClutterBinLayout |
Clutter.BinLayout | |
y_align : Clutter.BinAlignment
The default vertical alignment policy for actors managed
by the ClutterBinLayout The default vertical alignment policy for actors managed
by the ClutterBinLayout |
Clutter.BinLayout |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.BinLayout
(Object properties)
Create a new Clutter.BinLayout
Create a new Clutter.BinLayout
|
||
Create a new Clutter.BinLayout
Create a new Clutter.BinLayout
|
||
Adds a ClutterActor 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 ClutterContainer associated to the ClutterBinLayout
Adds a ClutterActor 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 ClutterContainer associated to the ClutterBinLayout
|
Clutter.BinLayout | |
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
a child of self If child is NULL the default alignment policies will be returned instead
Retrieves the horizontal and vertical alignment policies for
a child of self If child is NULL the default alignment policies will be returned instead
|
Clutter.BinLayout | |
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 | |
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 | |
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 | |
Sets the horizontal and vertical alignment policies to be applied
to a child of self If child is NULL then the x_align and y_align values will be set as the default alignment policies
Sets the horizontal and vertical alignment policies to be applied
to a child of self If child is NULL then the x_align and y_align values will be set as the default alignment policies
|
Clutter.BinLayout | |
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 |
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 |