/usr/share/help/C/gnome-devel-demos/beginner.vala.page is in gnome-devel-docs 3.28.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | <?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:e="http://projectmallard.org/experimental/"
type="guide" style="task"
id="beginner.vala">
<info>
<title type="text">Tutorial for beginners (Vala)</title>
<link type="guide" xref="vala#code-samples"/>
<revision version="0.1" date="2012-02-19" status="stub"/>
<desc>A beginner's guide to GUI programming using GTK+, including code samples and practice exercises.</desc>
<credit type="author">
<name>Tiffany Antopolski</name>
<email its:translate="no">tiffany.antopolski@gmail.com</email>
</credit>
<credit type="editor">
<name>Marta Maria Casetti</name>
<email its:translate="no">mmcasettii@gmail.com</email>
<years>2013</years>
</credit>
</info>
<title>Tutorial for beginners and code samples</title>
<synopsis>
<p>Although these tutorials are designed for beginners, we can't cover all the basics. Before attempting to follow these tutorials, you are expected to be familiar with the following concepts:</p>
<list type="numbered">
<item><p>Object oriented programming</p></item>
<item><p>The Vala programming language:</p>
<list>
<item><p><link href="https://live.gnome.org/Vala/Tutorial">The Vala Tutorial</link></p></item>
<item><p><link href="https://live.gnome.org/Vala/Documentation#Sample_Code">Sample Vala code</link></p></item>
</list>
</item>
</list>
<p>By following these tutorials you will learn the basics of GUI programming using GTK+.</p>
</synopsis>
<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>.vala</p></item>
<item><p>In the terminal type:</p>
<screen>valac --pkg gtk+-3.0 <var>filename</var>.vala</screen>
<screen>./<var>filename</var></screen>
</item>
</steps>
<section id="windows" style="2column"><title>Windows</title>
<p></p>
</section>
<section id="display-widgets" style="2column"><title>Display widgets</title>
</section>
<section id="buttons" style="2column"><title>Buttons and toggles</title>
</section>
<section id="entry" style="2column"><title>Numeric and text data entry</title>
</section>
<section id="multiline" style="2column"><title>Multiline text editor</title>
</section>
<section id="menu-combo-toolbar" style="2column"><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="misc"><title>Miscellaneous</title>
</section>
</section>
<section id="exercises">
<title>Exercises</title>
</section>
</page>
|