Class
ClutterLayoutManager
since: 1.2
Description [src]
abstract class Clutter.LayoutManager : GObject.InitiallyUnowned {
/* No available fields */
}
The ClutterLayoutManager
structure contains only private data
and should be accessed using the provided API.
Available since: 1.2
Instance methods
clutter_layout_manager_child_get
Retrieves the values for a list of properties out of the
ClutterLayoutMeta
created by manager
and attached to the
child of a container
.
since: 1.2
clutter_layout_manager_child_get_property
Gets a property on the ClutterLayoutMeta
created by manager
and
attached to a child of container
.
since: 1.2
clutter_layout_manager_child_set
Sets a list of properties and their values on the ClutterLayoutMeta
associated by manager
to a child of container
.
since: 1.2
clutter_layout_manager_child_set_property
Sets a property on the ClutterLayoutMeta
created by manager
and
attached to a child of container
.
since: 1.2
clutter_layout_manager_find_child_property
Retrieves the GParamSpec
for the layout property name
inside
the ClutterLayoutMeta
sub-class used by manager
.
since: 1.2
clutter_layout_manager_get_child_meta
Retrieves the ClutterLayoutMeta
that the layout manager
associated
to the actor
child of container
, eventually by creating one if the
ClutterLayoutManager
supports layout properties.
since: 1.0
clutter_layout_manager_get_preferred_height
Computes the minimum and natural heights of the container
according
to manager
.
since: 1.2
clutter_layout_manager_get_preferred_width
Computes the minimum and natural widths of the container
according
to manager
.
since: 1.2
clutter_layout_manager_layout_changed
Emits the ClutterLayoutManager::layout-changed
signal on manager
.
since: 1.2
clutter_layout_manager_list_child_properties
Retrieves all the GParamSpec
s for the layout properties
stored inside the ClutterLayoutMeta
sub-class used by manager
.
since: 1.2
clutter_layout_manager_set_container
If the ClutterLayoutManager
sub-class allows it, allow
adding a weak reference of the container
using manager
from within the layout manager.
since: 1.2
Signals
Clutter.LayoutManager::layout-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:
since: 1.2
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct ClutterLayoutManagerClass {
void (* get_preferred_width) (
ClutterLayoutManager* manager,
ClutterContainer* container,
gfloat for_height,
gfloat* min_width_p,
gfloat* nat_width_p
);
void (* get_preferred_height) (
ClutterLayoutManager* manager,
ClutterContainer* container,
gfloat for_width,
gfloat* min_height_p,
gfloat* nat_height_p
);
void (* allocate) (
ClutterLayoutManager* manager,
ClutterContainer* container,
const ClutterActorBox* allocation
);
void (* set_container) (
ClutterLayoutManager* manager,
ClutterContainer* container
);
GType (* get_child_meta_type) (
ClutterLayoutManager* manager
);
ClutterLayoutMeta* (* create_child_meta) (
ClutterLayoutManager* manager,
ClutterContainer* container,
ClutterActor* actor
);
void (* layout_changed) (
ClutterLayoutManager* manager
);
void (* _clutter_padding_1) (
void
);
void (* _clutter_padding_2) (
void
);
void (* _clutter_padding_3) (
void
);
void (* _clutter_padding_4) (
void
);
void (* _clutter_padding_5) (
void
);
void (* _clutter_padding_6) (
void
);
void (* _clutter_padding_7) (
void
);
void (* _clutter_padding_8) (
void
);
}
The ClutterLayoutManagerClass
structure contains only private
data and should be accessed using the provided API.
Class members
get_preferred_width: void (* get_preferred_width) ( ClutterLayoutManager* manager, ClutterContainer* container, gfloat for_height, gfloat* min_width_p, gfloat* nat_width_p )
- No description available.
get_preferred_height: void (* get_preferred_height) ( ClutterLayoutManager* manager, ClutterContainer* container, gfloat for_width, gfloat* min_height_p, gfloat* nat_height_p )
- No description available.
allocate: void (* allocate) ( ClutterLayoutManager* manager, ClutterContainer* container, const ClutterActorBox* allocation )
- No description available.
set_container: void (* set_container) ( ClutterLayoutManager* manager, ClutterContainer* container )
- No description available.
get_child_meta_type: GType (* get_child_meta_type) ( ClutterLayoutManager* manager )
- No description available.
create_child_meta: ClutterLayoutMeta* (* create_child_meta) ( ClutterLayoutManager* manager, ClutterContainer* container, ClutterActor* actor )
- No description available.
layout_changed: void (* layout_changed) ( ClutterLayoutManager* manager )
- No description available.
_clutter_padding_1: void (* _clutter_padding_1) ( void )
- No description available.
_clutter_padding_2: void (* _clutter_padding_2) ( void )
- No description available.
_clutter_padding_3: void (* _clutter_padding_3) ( void )
- No description available.
_clutter_padding_4: void (* _clutter_padding_4) ( void )
- No description available.
_clutter_padding_5: void (* _clutter_padding_5) ( void )
- No description available.
_clutter_padding_6: void (* _clutter_padding_6) ( void )
- No description available.
_clutter_padding_7: void (* _clutter_padding_7) ( void )
- No description available.
_clutter_padding_8: void (* _clutter_padding_8) ( void )
- No description available.
Virtual methods
Clutter.LayoutManagerClass.get_preferred_height
Computes the minimum and natural heights of the container
according
to manager
.
since: 1.2
Clutter.LayoutManagerClass.get_preferred_width
Computes the minimum and natural widths of the container
according
to manager
.
since: 1.2
Clutter.LayoutManagerClass.layout_changed
Emits the ClutterLayoutManager::layout-changed
signal on manager
.
since: 1.2
Clutter.LayoutManagerClass.set_container
If the ClutterLayoutManager
sub-class allows it, allow
adding a weak reference of the container
using manager
from within the layout manager.
since: 1.2