mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
![]() The recipe covers how to use ClutterBindConstraint to bind actor sizes together. It gives some examples of where this approach is appropriate, as well as explaining an alternative using allocation-changed or notify::* signals. Three examples are given: 1. Resizing a texture to the stage. 2. Resizing a rectangle to act as a transparent overlay on top of a texture (using constraints). 3. Resizing a rectangle to act as a transparent overlay on top of a texture, but with a size proportional to the texture (using a handler connected to allocation-changed signals emitted by the texture). |
||
---|---|---|
.. | ||
actors-opacity-container-affects-opacity.png | ||
actors-opacity.png | ||
clutter-logo.png | ||
events-pointer-motion-stacking.png | ||
layouts-bind-constraint-stage.png | ||
layouts-stacking-diff-actor-sizes.png | ||
text-shadow.png | ||
textures-reflection.png | ||
textures-sub-texture.png |