mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
cookbook: Added skeleton for script chapter of cookbook
This commit is contained in:
parent
27d9825abe
commit
fef53e1b28
@ -13,6 +13,7 @@ XML_FILES = \
|
||||
text.xml \
|
||||
textures.xml \
|
||||
layouts.xml \
|
||||
script.xml \
|
||||
$(NULL)
|
||||
|
||||
XSLTOPTS = \
|
||||
|
@ -45,6 +45,7 @@
|
||||
<xi:include href="animations.xml" />
|
||||
<xi:include href="text.xml" />
|
||||
<xi:include href="layouts.xml" />
|
||||
<xi:include href="script.xml" />
|
||||
|
||||
<appendix id="contributing">
|
||||
<title>Contributing to this document</title>
|
||||
|
45
doc/cookbook/script.xml
Normal file
45
doc/cookbook/script.xml
Normal file
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
|
||||
<chapter id="script"
|
||||
xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||
<title>Script</title>
|
||||
|
||||
<epigraph>
|
||||
<attribution>who</attribution>
|
||||
<para>what</para>
|
||||
</epigraph>
|
||||
|
||||
<section id="script-introduction">
|
||||
<title>Introduction</title>
|
||||
|
||||
<para>intro</para>
|
||||
</section>
|
||||
|
||||
<section id="script-ui">
|
||||
<title>Defining a user interface using <type>ClutterScript</type></title>
|
||||
|
||||
<section>
|
||||
<title>Problem</title>
|
||||
|
||||
<para>User interfaces are hard to maintain when the code
|
||||
for creating elements and the code for interacting with
|
||||
them is mixed together.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Solution</title>
|
||||
|
||||
<para>Use <type>ClutterScript</type> to define the UI
|
||||
declaratively.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Discussion</title>
|
||||
|
||||
<para>...</para>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</chapter>
|
Loading…
Reference in New Issue
Block a user