diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2011-11-25 10:27:01 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2012-01-16 23:35:14 +0000 |
commit | bf275751879848ff90fafe05fe9eb1c58f4f6190 (patch) | |
tree | 9b6cc3ddabd5f8b0eb1fccbf0a306d13d4304654 /clutter/clutter-types.h | |
parent | 9d9e98968f0373de795e0399c27c6c28dd9780cd (diff) | |
download | clutter-bf275751879848ff90fafe05fe9eb1c58f4f6190.tar.gz |
actor: Maintain invariants in add_child/remove_child
We need to queue a relayout when removing a visible child from a visible
parent.
We also need to insert the child at the right position (depending on the
depth) so that newly added actors will be painted on top.
Diffstat (limited to 'clutter/clutter-types.h')
-rw-r--r-- | clutter/clutter-types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h index 13296fb33..c04e9a684 100644 --- a/clutter/clutter-types.h +++ b/clutter/clutter-types.h @@ -267,6 +267,17 @@ void clutter_paint_volume_union (ClutterPaintVolume gboolean clutter_paint_volume_set_from_allocation (ClutterPaintVolume *pv, ClutterActor *actor); +/** + * ClutterMargin: + * @left: the margin from the left + * @right: the margin from the right + * @top: the margin from the top + * @bottom: the margin from the bottom + * + * A representation of the components of a margin. + * + * Since: 1.10 + */ struct _ClutterMargin { float left; |