Emmanuele Bassi 0411ba7d32 actor: Parse actions, constraints and effects members
ClutterActor should allow attaching actions, constraints and effects
just like it allows behaviours, e.g.:

  {
    ...
    "constraints" : [
      {
        "type" : "ClutterAlignConstraint",
        "source" : "stage",
        "align-axis" : "x-axis",
        "factor" : 0.5
      },
      {
        "type" : "ClutterAlignConstraint",
        "source" : "stage",
        "align-axis" : "y-axis",
        "factor" : 0.5
      }
    ],
    ...
  }

or:

  {
    ...
    "actions" : [
      {
        "type" : "ClutterDragAction",
        "signals" : [
          { "name" : "drag-end", "handler" : "on_drag_end" }
        ]
      }
    ],
    ...
  }

In order to do so, we use the Scriptable interface implementation and
add three new custom properties accepting an array; then we parse each
member of the array as a new object.
2010-06-17 17:35:00 +01:00
..
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2009-01-20 18:47:50 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-03 14:10:55 +01:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-05-25 11:13:03 +01:00
2010-06-11 16:09:36 +01:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2009-10-14 11:31:26 +01:00
2010-06-09 11:55:19 +01:00
2009-07-10 11:38:42 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-16 17:45:46 +01:00
2010-02-03 14:38:13 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-02-01 10:40:34 +00:00
2010-03-02 11:12:32 +00:00
2010-06-10 18:40:29 +01:00