[layout] Implement ClutterBox::add

The ClutterBox::add method is a simple wrapper around the Container
add_actor() method and the LayoutManager layout properties API. It
allows adding an actor to a Box and setting the layout properties in
one call.

If the LayoutManager used by the Box does not support layout properties
then the add() method short-circuits out.

Along with the varargs version of the method there's also a vector-based
variant, for language bindings to use.
This commit is contained in:
Emmanuele Bassi
2009-09-15 23:20:51 +01:00
parent a2086f1178
commit aaae60e178
4 changed files with 210 additions and 19 deletions

View File

@ -1806,6 +1806,8 @@ ClutterBox
ClutterBoxClass
clutter_box_new
clutter_box_get_layout_manager
clutter_box_add
clutter_box_addv
<SUBSECTION Standard>
CLUTTER_TYPE_BOX