docs/clutter: Drop no longer applicable examples links
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3515>
This commit is contained in:
parent
c3cb760412
commit
692e1f2759
5 changed files with 0 additions and 41 deletions
|
@ -37,9 +37,6 @@
|
|||
* of the other;
|
||||
* - for each layer there are horizontal and vertical
|
||||
* alignment policies.
|
||||
*
|
||||
* The [bin-layout example](https://git.gnome.org/browse/clutter/tree/examples/bin-layout.c?h=clutter-1.18)
|
||||
* shows how to pack actors inside a #ClutterBinLayout.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -64,35 +64,6 @@
|
|||
* horizontal or vertical edges then it can also expand to fit the empty
|
||||
* space.
|
||||
*
|
||||
* The [constraints example](https://git.gnome.org/browse/clutter/tree/examples/constraints.c?h=clutter-1.18)
|
||||
* uses various types of #ClutterConstraints to lay out three actors on a
|
||||
* resizable stage. Only the central actor has an explicit size, and no
|
||||
* actor has an explicit position.
|
||||
*
|
||||
* - The #ClutterActor with [property@Clutter.Actor:name] `layerA` is explicitly
|
||||
* sized to 100 pixels by 25 pixels, and it's added to the #ClutterStage
|
||||
* - two #ClutterAlignConstraints are used to anchor `layerA` to the
|
||||
* center of the stage, by using 0.5 as the alignment #ClutterAlignConstraint:factor on
|
||||
* both the X and Y axis
|
||||
* - the #ClutterActor with [property@Clutter.Actor:name] `layerB` is added to the
|
||||
* #ClutterStage with no explicit size
|
||||
* - the [property@Clutter.Actor:x] and [property@Clutter.Actor:width] of `layerB` are bound
|
||||
* to the same properties of `layerA` using two #ClutterBindConstraint
|
||||
* objects, thus keeping `layerB` aligned to `layerA`
|
||||
* - the top edge of `layerB` is snapped together with the bottom edge
|
||||
* of `layerA`; the bottom edge of `layerB` is also snapped together with
|
||||
* the bottom edge of the #ClutterStage; an offset is given to the two
|
||||
* #ClutterSnapConstraintss to allow for some padding; since `layerB` is
|
||||
* snapped between two different #ClutterActors, its height is stretched
|
||||
* to match the gap
|
||||
* - the #ClutterActor with [property@Clutter.Actor:name] `layerC` mirrors `layerB`,
|
||||
* snapping the top edge of the #ClutterStage to the top edge of `layerC`
|
||||
* and the top edge of `layerA` to the bottom edge of `layerC`
|
||||
*
|
||||
* You can try resizing interactively the #ClutterStage and verify
|
||||
* that the three #ClutterActors maintain the same position and
|
||||
* size relative to each other, and to the #ClutterStage.
|
||||
*
|
||||
* It is important to note that Clutter does not avoid loops or
|
||||
* competing constraints; if two or more #ClutterConstraints
|
||||
* are operating on the same positional or dimensional attributes of an
|
||||
|
|
|
@ -46,9 +46,6 @@
|
|||
* - the size of the columns or rows can be controlled
|
||||
* for both minimum and maximum; the spacing can also be controlled
|
||||
* in both columns and rows.
|
||||
*
|
||||
* The [flow-layout example](https://git.gnome.org/browse/clutter/tree/examples/flow-layout.c?h=clutter-1.18)
|
||||
* shows how to use the #ClutterFlowLayout.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
*
|
||||
* #ClutterImage is a #ClutterContent implementation that displays
|
||||
* image data inside a [class@Actor].
|
||||
*
|
||||
* See [image.c](https://git.gnome.org/browse/clutter/tree/examples/image-content.c?h=clutter-1.18)
|
||||
* for an example of how to use #ClutterImage..
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -35,9 +35,6 @@
|
|||
*
|
||||
* #ClutterScrollActor does not provide pointer or keyboard event handling,
|
||||
* nor does it provide visible scroll handles.
|
||||
*
|
||||
* See [scroll-actor.c](https://git.gnome.org/browse/clutter/tree/examples/scroll-actor.c?h=clutter-1.18)
|
||||
* for an example of how to use #ClutterScrollActor..
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
Loading…
Reference in a new issue