LayoutManager
Object Hierarchy:
Clutter.LayoutManager
Clutter.LayoutManager
Clutter.LayoutManager
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Clutter.LayoutManager
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Description:
[ CCode ( type_id = "clutter_layout_manager_get_type ()" ) ] [ Version ( since = "1.2" ) ]public abstract class LayoutManager : InitiallyUnowned
The LayoutManager structure contains only private data and should be accessed using the provided API
Content:
Creation methods:
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 easing mode
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 ()
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 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 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 ParamSpec s 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:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref