[gnome-devel-docs] vala tutorials: added button and toolbar stub pages
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] vala tutorials: added button and toolbar stub pages
- Date: Fri, 30 Mar 2012 16:17:02 +0000 (UTC)
commit 7ab63f18fd41c5956cad2834d42229b7a7f13a63
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Fri Mar 30 12:16:18 2012 -0400
vala tutorials: added button and toolbar stub pages
platform-demos/C/beginner.vala.page | 3 +++
platform-demos/C/button.vala.page | 24 ++++++++++++++++++++++++
platform-demos/C/toolbar.vala.page | 27 +++++++++++++++++++++++++++
platform-demos/Makefile.am | 2 ++
4 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/platform-demos/C/beginner.vala.page b/platform-demos/C/beginner.vala.page
index 5cbbc01..4aa4b1d 100644
--- a/platform-demos/C/beginner.vala.page
+++ b/platform-demos/C/beginner.vala.page
@@ -34,4 +34,7 @@
<title>Tutorials</title>
</section>
+<section id="samples">
+<title>Sample code</title>
+</section>
</page>
diff --git a/platform-demos/C/button.vala.page b/platform-demos/C/button.vala.page
new file mode 100644
index 0000000..927e8b7
--- /dev/null
+++ b/platform-demos/C/button.vala.page
@@ -0,0 +1,24 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="task"
+ id="button.vala">
+ <info>
+ <link type="guide" xref="beginner.vala#samples"/>
+ <revision version="0.1" date="2012-02-21" status="stub"/>
+
+ <credit type="author copyright">
+ <name>Tiffany Antopolski</name>
+ <email>tiffany antopolski gmail com</email>
+ <years>2012</years>
+ </credit>
+
+ <desc>A button widget which is connected to a progress bar</desc>
+ </info>
+
+ <title>Button widget</title>
+
+ <media type="image" mime="image/png" src="media/button.png"/>
+ <p>A button widget connected to a progress bar.</p>
+
+ <code mime="text/vala" style="numbered"><![CDATA[
+]]></code>
+</page>
diff --git a/platform-demos/C/toolbar.vala.page b/platform-demos/C/toolbar.vala.page
new file mode 100644
index 0000000..9260135
--- /dev/null
+++ b/platform-demos/C/toolbar.vala.page
@@ -0,0 +1,27 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="task"
+ id="toolbar.vala">
+ <info>
+ <link type="guide" xref="beginner.vala#samples"/>
+ <revision version="0.1" date="2012-02-20" status="stub"/>
+
+ <credit type="author copyright">
+ <name>Tiffany Antopolski</name>
+ <email>tiffany antopolski gmail com</email>
+ <years>2012</years>
+ </credit>
+
+ <desc>A toolbar widget which is connected to a Dialog widget</desc>
+ </info>
+
+ <title>Toolbar widget</title>
+
+ <media type="image" mime="image/png" src="media/toolbar.png"/>
+ <p>Toolbar is a widget that may contain either text or stock icons. In this sample we use stock icons.</p>
+
+ <code mime="text/vala" style="numbered"><![CDATA[
+]]></code>
+
+<p>In this sample we use the following widgets: <link href="">Gtk.Window</link>, <link href="">Gtk.Grid</link>, <link href="">Gtk.Toolbar</link>, <link href="">Gtk.ToolButton</link>, <link href="">Gtk.Dialog</link>.</p>
+
+</page>
diff --git a/platform-demos/Makefile.am b/platform-demos/Makefile.am
index cb63211..773da2c 100644
--- a/platform-demos/Makefile.am
+++ b/platform-demos/Makefile.am
@@ -48,6 +48,7 @@ DOC_PAGES = \
beginner.vala.page \
bug-filing.page \
button.js.page \
+ button.vala.page
documentation.page \
desktop.js.page \
beginner.js.page \
@@ -68,6 +69,7 @@ DOC_PAGES = \
magic-mirror.vala.page \
message-board.c.page \
toolbar.js.page \
+ toolabar.vala.page \
photo-wall.c.page \
record-collection.js.page \
translate.page \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]