LayoutManager
Object Hierarchy:
Description:
The LayoutManager structure contains only private data and should be
accessed using the provided API
Namespace: Clutter
Package: clutter-1.0
Content:
Creation methods:
Methods:
-
public virtual void allocate (Container container, ActorBox allocation, AllocationFlags flags)
Allocates the children of container given an area
-
public virtual weak Alpha begin_animation (uint duration, ulong mode)
Begins an animation of duration milliseconds, using the provided easing mode
-
public void child_get (Container container, Actor actor, ...)
Retrieves the values for a list of properties out of the
LayoutMeta created by manager and attached to the child of
a container
-
public void child_get_property (Container container, Actor actor, string property_name, Value value)
Gets a property on the LayoutMeta created
by manager and attached to a child of container
-
public void child_set (Container container, Actor actor, ...)
Sets a list of properties and their values on the
LayoutMeta associated by manager to a child of
container
-
public void child_set_property (Container container, Actor actor, string property_name, Value value)
Sets a property on the LayoutMeta created
by manager and attached to a child of container
-
public virtual weak LayoutMeta create_child_meta (Container container, Actor actor)
-
public virtual void end_animation ()
-
public weak ParamSpec find_child_property (string name)
Retrieves the ParamSpec for the layout
property name inside the LayoutMeta sub-class used by
manager
-
public virtual double get_animation_progress ()
Retrieves the progress of the animation, if one has been started by
begin_animation
-
public weak LayoutMeta get_child_meta (Container container, Actor actor)
Retrieves the LayoutMeta that the layout
manager associated to the actor child of container, eventually by creating one if the
LayoutManager supports layout properties
-
public virtual Type get_child_meta_type ()
-
public virtual void get_preferred_height (Container container, float for_width, out float min_height_p, out float nat_height_p)
Computes the minimum and natural heights of the container according to manager
.
-
public virtual void get_preferred_width (Container container, float for_height, out float min_width_p, out float nat_width_p)
Computes the minimum and natural widths of the container according to manager
.
-
public ParamSpec[] list_child_properties ()
Retrieves all the ParamSpecs for the
layout properties stored inside the LayoutMeta sub-class used by
manager
-
public virtual void set_container (Container? container)
If the LayoutManager sub-class allows
it, allow adding a weak reference of the container using manager from within the layout manager
Signals:
-
public virtual void layout_changed ()
The layout_changed signal is
emitted each time a layout manager has been changed. Every Actor using the
manager instance as a layout manager should connect a handler to the
layout_changed signal and queue a relayout on themselves: