[gnome-devel-docs] JS Samples: Mallard page for GtkApplicationWindow sample



commit c32a23fc2c99ba0963705ce8de605450428d7d07
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Tue May 1 22:48:57 2012 -0400

    JS Samples: Mallard page for GtkApplicationWindow sample
    
    - also updated Makefile.am

 platform-demos/C/GtkApplicationWindow.js.page |   32 +++++++++++++++++++++++++
 platform-demos/Makefile.am                    |    2 +
 2 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/platform-demos/C/GtkApplicationWindow.js.page b/platform-demos/C/GtkApplicationWindow.js.page
new file mode 100644
index 0000000..84c1647
--- /dev/null
+++ b/platform-demos/C/GtkApplicationWindow.js.page
@@ -0,0 +1,32 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      xmlns:xi="http://www.w3.org/2001/XInclude";
+      type="guide" style="task"
+      id="GtkApplicationWindow.js">
+  <info>
+    <link type="guide" xref="beginner.vala#windows"/>
+    <revision version="0.1" date="2012-04-07" status="draft"/>
+
+    <credit type="author copyright">
+      <name>Tiffany Antopolski</name>
+      <email>tiffany antopolski gmail com</email>
+      <years>2012</years>
+    </credit>
+
+    <desc>GtkWindow subclass with GtkApplication support</desc>
+  </info>
+
+  <title>ApplicationWindow</title>
+  <media type="image" mime="image/png" src="media/window.png"/>
+  <p>A simple GtkApplicationWindow which can support Menus.</p>
+
+<code mime="text/x-vala" style="numbered">
+<xi:include href="samples/GtkApplicationWindow.js" parse="text"><xi:fallback/></xi:include>
+</code>
+<p>
+  In this sample we used the following:
+</p>
+<list>
+  <item><p><link href="http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Application.html";>Gtk.Application</link></p></item>
+  <item><p><link href="http://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html";>Gtk.ApplicationWindow</link></p></item>
+</list>
+</page>
diff --git a/platform-demos/Makefile.am b/platform-demos/Makefile.am
index 7c165c1..1166324 100644
--- a/platform-demos/Makefile.am
+++ b/platform-demos/Makefile.am
@@ -28,6 +28,7 @@ demo_sources = \
 	samples/gmenu.py			\
 	samples/grid.py				\
 	samples/GtkApplicationWindow.c		\
+        samples/GtkApplicationWindow.js		\
 	samples/GtkApplicationWindow.vala	\
 	samples/label.vala			\
 	samples/messagedialog.vala		\
@@ -88,6 +89,7 @@ DOC_PAGES =				\
 	gmenu.vala.page			\
 	grid.py.page			\
 	GtkApplicationWindow.c.page	\
+	GtkApplicationWindow.js.page	\
 	GtkApplicationWindow.vala.page	\
 	guitar-tuner.c.page		\
 	guitar-tuner.cpp.page		\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]