How-To: Create a Clutter widget

Below is a brief list of steps to create a Clutter widget. The Clutter widget included in http://git.moblin.org/repos/?p=moblin2/sample_apps.git is a button. For a detailed explanation of how the button widget was created, see the source code for button.c

  1. Create/setup actors needed for the button.
  2. Create, setup, start timeline(s).
  3. Connect/write signal handlers.
  4. Apply behaviours/effects.

Comments (3 total)

where can i get more detal data?

Any detal data about widget? Document or sample code?

git bad link

the git link not work

Correct links are...

To Browse the source use http://git.moblin.org/repos/moblin2/sample_apps.git/

To clone the source use:
$ git clone http://git.moblin.org/repos/moblin2/sample_apps.git/