From fef53e1b287df0640e3395d082c7dcb84d8886b1 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Thu, 26 Aug 2010 11:07:54 +0100 Subject: [PATCH] cookbook: Added skeleton for script chapter of cookbook --- doc/cookbook/Makefile.am | 1 + doc/cookbook/clutter-cookbook.xml.in | 1 + doc/cookbook/script.xml | 45 ++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 doc/cookbook/script.xml diff --git a/doc/cookbook/Makefile.am b/doc/cookbook/Makefile.am index 713af4803..103d8360a 100644 --- a/doc/cookbook/Makefile.am +++ b/doc/cookbook/Makefile.am @@ -13,6 +13,7 @@ XML_FILES = \ text.xml \ textures.xml \ layouts.xml \ + script.xml \ $(NULL) XSLTOPTS = \ diff --git a/doc/cookbook/clutter-cookbook.xml.in b/doc/cookbook/clutter-cookbook.xml.in index 3bd710821..83e16476b 100644 --- a/doc/cookbook/clutter-cookbook.xml.in +++ b/doc/cookbook/clutter-cookbook.xml.in @@ -45,6 +45,7 @@ + Contributing to this document diff --git a/doc/cookbook/script.xml b/doc/cookbook/script.xml new file mode 100644 index 000000000..cbb59429f --- /dev/null +++ b/doc/cookbook/script.xml @@ -0,0 +1,45 @@ + + + + Script + + + who + what + + +
+ Introduction + + intro +
+ +
+ Defining a user interface using <type>ClutterScript</type> + +
+ Problem + + User interfaces are hard to maintain when the code + for creating elements and the code for interacting with + them is mixed together. +
+ +
+ Solution + + Use ClutterScript to define the UI + declaratively. +
+ +
+ Discussion + + ... +
+ +
+ +