Grip-Clutter still is undocumented, we are working on
it! But, it comes with a few examples, which initially aim at allowing
us to proof concept the design and implementation of
the Grip-Clutter toolbox.
This said, we also think and
hope Grip-Clutter examples might be usefull, especially to
those of you who would like to learn and use Guile-Clutter and wouldn't
know where to start: they work out-of-the-box and might save you a great
deal of time in this learning process.
Grip-Clutter example modules and scripts are installed
here (please refer to the Install 'Notes' first entry for
a detailed desciption on how to substitute installation path
variables):
- $(datadir)/grip/clutter/examples
So far the following examples have been
developed: bouncer, clock, grid, spline, toolbar, scroll, drag, drop and a template users can take advantage of to
make a super quick Guile-Clutter, Grip-Clutter start. All
examples respond to the the following same options:
- --debug
spawns a server that you may connect to in order to
interact with the clutter example that is being run
- --help
display this usage information
- --version
display version information
Here is a complete session example calling ./bouncer --debug
- ./bouncer --debug
- Grip-Clutter 1.12.2.1: The bouncer example.
- Copyright (C) 2015 ...
- You requested to run this grip-clutter example in debug mode, here
is what I did for you:
- [-] a server has been spawned, in a new thread, port 1968, which
you may connect to [if you use emacs and geiser, which we recommend, use M-x
connect-to-guile];
- [-] the following global variables have been defined:
- *stage* a <clus-stage> instance
- *clue* a <clue> instance
- *bouncer* a <clus-bouncer> instance
Following, just [50% reduced] screen copies of the above listed examples.
The Bouncer
![](images/bouncer-50p.png)
The Clock
![](images/clock-50p.png)
The Grid
![](images/grid-50p.png)
The Spline
![](images/spline-50p.png)
The Toolbar
![](images/toolbar-west-50p.png)
The Scroll
![](images/scroll-50p.png)
Drag
![](images/drag-50p.png)
Drop
![](images/drop-50p.png)