LayoutManager
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_layout_manager_get_type ()" ) ]
[ Version ( since = "1.2" ) ]
public abstract class LayoutManager : InitiallyUnowned
[ Version ( since = "1.2" ) ]
public abstract class LayoutManager : InitiallyUnowned
The LayoutManager structure contains only private data and should be accessed using the provided API
All known sub-classes:
Namespace: Clutter
Package: clutter-1.0
Content:
Creation methods:
- protected LayoutManager ()
Methods:
- public virtual void allocate (Container container, ActorBox allocation, AllocationFlags flags)
Allocates the children of
container
given an area - public virtual unowned Alpha begin_animation (uint duration, ulong mode)
Begins an animation of
duration
milliseconds, using the provided easingmode
- public void child_get (Container container, Actor actor, ...)
Retrieves the values for a list of properties out of the LayoutMeta created by this 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 this 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 this 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 this and attached to a child of
container
- public virtual unowned LayoutMeta create_child_meta (Container container, Actor actor)
- public virtual void end_animation ()
Ends an animation started by begin_animation
- public unowned ParamSpec find_child_property (string name)
Retrieves the ParamSpec for the layout property
name
inside the LayoutMeta sub-class used by this - public virtual double get_animation_progress ()
Retrieves the progress of the animation, if one has been started by begin_animation
- public unowned LayoutMeta get_child_meta (Container container, Actor actor)
Retrieves the LayoutMeta that the layout this associated to the
actor
child ofcontainer
, 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 this. - 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 this. - public ParamSpec[] list_child_properties ()
Retrieves all the ParamSpecs for the layout properties stored inside the LayoutMeta sub-class used by this
- public virtual void set_container (Container? container)
If the LayoutManager sub-class allows it, allow adding a weak reference of the
container
using this from within the layout manager
Signals:
- public virtual signal void layout_changed ()
The layout_changed signal is emitted each time a layout manager has been changed.
Inherited Members:
All known members inherited from class GLib.Object