[gnome-devel-docs] tutorials: added new stuff to vala section
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] tutorials: added new stuff to vala section
- Date: Sun, 19 Feb 2012 16:49:49 +0000 (UTC)
commit da86fe8b6fe731a9a3313aa7f14fc424502f0417
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Sun Feb 19 17:48:37 2012 +0100
tutorials: added new stuff to vala section
platform-demos/C/audio-player.vala.page | 8 +++---
platform-demos/C/beginner.vala.page | 22 +++++++++++++++++++
platform-demos/C/getting-started.vala.page | 31 ++++++++++++++++++++++++++++
platform-demos/C/guitar-tuner.vala.page | 2 +-
platform-demos/C/image-viewer.vala.page | 4 +-
platform-demos/C/magic-mirror.vala.page | 10 ++++----
platform-demos/Makefile.am | 2 +
7 files changed, 67 insertions(+), 12 deletions(-)
---
diff --git a/platform-demos/C/audio-player.vala.page b/platform-demos/C/audio-player.vala.page
index 363314e..57db4f8 100644
--- a/platform-demos/C/audio-player.vala.page
+++ b/platform-demos/C/audio-player.vala.page
@@ -4,9 +4,9 @@
<info>
<link type="guide" xref="index#vala"/>
-
- <desc>XXXX</desc>
-
+
+ <desc>Coming soon...</desc>
+
<revision pkgversion="0.1" version="0.1" date="2010-12-05" status="stub"/>
<credit type="author">
<name>GNOME Documentation Project</name>
@@ -14,6 +14,6 @@
</credit>
</info>
-<title>Audio Player</title>
+<title>3 Audio Player</title>
</page>
diff --git a/platform-demos/C/beginner.vala.page b/platform-demos/C/beginner.vala.page
new file mode 100644
index 0000000..4f17563
--- /dev/null
+++ b/platform-demos/C/beginner.vala.page
@@ -0,0 +1,22 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:e="http://projectmallard.org/experimental/"
+ type="guide" style="task"
+ id="beginner.vala">
+
+<info>
+ <link type="guide" xref="index#vala"/>
+ <desc>A complete beginner's guide to GTK+ programming</desc>
+ <credit type="author">
+ <name>Tiffany Antopolski</name>
+ <email>tiffany antopolski gmail com</email>
+ </credit>
+</info>
+
+
+<title>0 Beginner's Tutorials</title>
+
+<section id="tutorials">
+<title>Tutorials</title>
+</section>
+
+</page>
diff --git a/platform-demos/C/getting-started.vala.page b/platform-demos/C/getting-started.vala.page
new file mode 100644
index 0000000..b70e707
--- /dev/null
+++ b/platform-demos/C/getting-started.vala.page
@@ -0,0 +1,31 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="getting-started.vala">
+ <info>
+ <link type="guide" xref="beginner.vala#tutorials"/>
+ <revision version="0.1" date="2012-02-19" status="stub"/>
+ <credit type="author copyright">
+ <name>Tiffany Antopolski</name>
+ <email>tiffany antopolski gmail com</email>
+ <years>2012</years>
+ </credit>
+ <desc>What you should know before you jump in</desc>
+ </info>
+
+ <title>Getting started</title>
+
+ <comment>
+ <cite date="2012-02-19" href="mailto:tiffany antopolski gmail com">Tiffany Antopolski</cite>
+ <p>This assumes the reader knows how to.... By the end of this page,
+ the reader will be able to....</p>
+ </comment>
+
+ <p>Short introductory text...</p>
+
+ <steps>
+ <item><p>First step...</p></item>
+ <item><p>Second step...</p></item>
+ <item><p>Third step...</p></item>
+ </steps>
+
+</page>
diff --git a/platform-demos/C/guitar-tuner.vala.page b/platform-demos/C/guitar-tuner.vala.page
index ccfff9c..303f81e 100644
--- a/platform-demos/C/guitar-tuner.vala.page
+++ b/platform-demos/C/guitar-tuner.vala.page
@@ -22,7 +22,7 @@
</credit>
</info>
-<title>Guitar Tuner</title>
+<title>2 Guitar Tuner</title>
<synopsis>
<p>In this tutorial you will create an application which plays tones that you can use to tune a guitar. You will learn how to:</p>
diff --git a/platform-demos/C/image-viewer.vala.page b/platform-demos/C/image-viewer.vala.page
index cbf6b85..e9db46d 100644
--- a/platform-demos/C/image-viewer.vala.page
+++ b/platform-demos/C/image-viewer.vala.page
@@ -26,7 +26,7 @@
</credit>
</info>
-<title>Image Viewer</title>
+<title>1 Image Viewer</title>
<synopsis>
<p>In this tutorial you will create an application which opens and displays an image file. You will learn:</p>
<list type="numbered">
@@ -39,7 +39,7 @@
<list>
<item><p>Basic knowledge of the <link href="https://live.gnome.org/Vala/Tutorial">Vala</link> programming language.</p></item>
<item><p>An installed copy of <app>Anjuta</app>.</p></item>
- <item><p>You may find the <link href="http://valadoc.org/gtk+-3.0/">gtk+-3.0</link></p> API Reference useful, although it is not necessary to follow the tutorial.</item>
+ <item><p>You may find the <link href="http://valadoc.org/gtk+-3.0/">gtk+-3.0</link> API Reference useful, although it is not necessary to follow the tutorial.</p></item>
</list>
</synopsis>
diff --git a/platform-demos/C/magic-mirror.vala.page b/platform-demos/C/magic-mirror.vala.page
index 5fd8638..e8da11f 100644
--- a/platform-demos/C/magic-mirror.vala.page
+++ b/platform-demos/C/magic-mirror.vala.page
@@ -18,7 +18,7 @@
</credit>
</info>
-<title>Magic Mirror</title>
+<title>4 Magic Mirror</title>
<synopsis>
<p><em>Your mirror just fell off the wall and broke into a thousand pieces — but you need a mirror to shave your beard off or add some makeup! You only have 15 minutes left before catching the bus to work. So what can you do?</em></p>
@@ -94,10 +94,10 @@ using Gtk;]]></code>
using GLib;
using Gtk;
-public class Main : Object
+public class Main : Object
{
private Gst.Element camerabin;
-
+
public Main () {
this.camerabin = Gst.ElementFactory.make ("camerabin", "camera");
this.camerabin.set_state (Gst.State.PLAYING);
@@ -109,7 +109,7 @@ public class Main : Object
var app = new Main ();
Gtk.main ();
-
+
return 0;
}
}
@@ -147,7 +147,7 @@ public class Main : Object
<section id="further">
<title>Further reading</title>
-<p>To find out more about the Vala programming language you might want to check out the
+<p>To find out more about the Vala programming language you might want to check out the
<link href="http://live.gnome.org/Vala/Tutorial">Vala Tutorial</link>.</p>
</section>
diff --git a/platform-demos/Makefile.am b/platform-demos/Makefile.am
index e21fad1..39a4561 100644
--- a/platform-demos/Makefile.am
+++ b/platform-demos/Makefile.am
@@ -39,9 +39,11 @@ DOC_FIGURES = \
DOC_PAGES = \
audio-player.vala.page \
+ beginner.vala.page \
bug-filing.page \
documentation.page \
getting-ready.page \
+ getting-started.vala.page \
guitar-tuner.c.page \
guitar-tuner.cpp.page \
guitar-tuner.py.page \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]