GObject.Object
GObject.InitiallyUnowned
Clutter.LayoutManager
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterLayoutManager |
Class : | LayoutManager |
Extends: | GObject.InitiallyUnowned |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
dummy : void*
read only
|
Clutter.LayoutManager | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
parent_instance : GObject.InitiallyUnowned
read only
|
Clutter.LayoutManager | |
qdata : GLib.Data
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.LayoutManager
(Object properties)
Create a new Clutter.LayoutManager
Create a new Clutter.LayoutManager
|
||
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 | |
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 | |
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 | |
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 | |
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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Box
Property |
layout_manager : Clutter.LayoutManager
The ClutterLayoutManager used by the ClutterBox
|
Clutter.Box
Method |
Create a new Clutter.Box
|
Clutter.Box
Method |
set_layout_manager
(LayoutManager manager)
:
none
Sets the ClutterLayoutManager for box A ClutterLayoutManager is a delegate object that controls the layout of the children of box
|
Clutter.Box
Method |
get_layout_manager
()
:
Clutter.LayoutManager
Retrieves the ClutterLayoutManager instance used by box
|
Clutter.LayoutMeta
Property |
manager : Clutter.LayoutManager
The ClutterLayoutManager that created this ClutterLayoutMeta.
|
Clutter.LayoutMeta
Method |
get_manager
()
:
Clutter.LayoutManager
Retrieves the actor wrapped by data
|