1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" style="task" id="beginner.js" xml:lang="gl">
<info>
<link type="guide" xref="index#js"/>
<revision version="0.1" date="2012-02-19" status="stub"/>
<credit type="author copyright">
<name>Susanna Huhtanen</name>
<email>ihmis.suski@gmail.com</email>
<years>2012</years>
</credit>
<desc>A complete beginner's guide to GTK+ programming</desc>
</info>
<title>0 Beginner's Tutorials and samples</title>
<p>In these tutorials and samples we use JavaScript and GTK+. These tutorials and samples expect you to be familiar with the syntax of JavaScript, if not, read <link href="http://eloquentjavascript.net/contents.html">Eloquent JavaScript</link> or your preferred guide to JavaScript. </p>
<section id="tutorials">
<title>Tutorials</title>
</section>
<section id="samples">
<title>Code samples</title>
<p>
To run the code samples:
</p>
<steps>
<item><p>Copy and paste the code into <var>filename</var>.js</p></item>
<item><p>In the terminal type:</p>
<screen>gjs <var>filename</var>.js</screen></item>
</steps>
<section id="windows"><title>Windows</title>
</section>
<section id="display-widgets"><title>Display widgets</title>
</section>
<section id="buttons"><title>Buttons and toggles</title>
</section>
<section id="entry"><title>Numeric and text data entry</title>
</section>
<section id="menu-combo-toolbar"><title>Menu, combo box and toolbar widgets</title>
</section>
<section id="treeview"><title>TreeView widget</title>
</section>
<section id="selectors"><title>Selectors</title>
<section id="file-selectors"><title>File selectors</title>
</section>
<section id="font-selectors"><title>Font selectors</title>
</section>
<section id="color-selectors"><title>Color Selectors</title>
</section>
</section>
<section id="layout"><title>Layout containers</title>
</section>
<section id="ornaments"><title>Ornaments</title>
</section>
<section id="scrolling"><title>Scrolling</title>
</section>
<section id="miscellaneous"><title>Miscellaneous</title>
</section>
</section>
<section id="exercises">
<title>Exercises</title>
</section>
</page>
|