[gtk-web/gtk3-win32] Modified win32 Download page, added Tutorial and ContentList, with screenshots



commit 9cb17b91dafe83c326de35b5230938cebc80d31c
Author: Manuel Bachmann <tarnyko tarnyko net>
Date:   Thu Apr 25 11:08:25 2013 +0200

    Modified win32 Download page, added Tutorial and ContentList, with screenshots

 download/win32.php                             |  169 +++++++++++++++++++++++-
 download/win32_contentlist.php                 |   89 +++++++++++++
 download/win32_tutorial.php                    |  113 ++++++++++++++++
 images/screenshots/screenshot-tutorial-01.png  |  Bin 0 -> 6793 bytes
 images/screenshots/screenshot-tutorial-02.png  |  Bin 0 -> 6690 bytes
 images/screenshots/screenshot-tutorial-02a.png |  Bin 0 -> 6805 bytes
 images/screenshots/screenshot-tutorial-03.png  |  Bin 0 -> 10284 bytes
 images/screenshots/screenshot-tutorial-04.png  |  Bin 0 -> 6184 bytes
 images/screenshots/screenshot-tutorial-04a.png |  Bin 0 -> 6043 bytes
 images/screenshots/screenshot-tutorial-04b.png |  Bin 0 -> 3231 bytes
 images/screenshots/screenshot-tutorial-05.png  |  Bin 0 -> 6449 bytes
 images/screenshots/screenshot-tutorial-05a.png |  Bin 0 -> 3821 bytes
 images/screenshots/screenshot-tutorial-05b.png |  Bin 0 -> 4086 bytes
 13 files changed, 369 insertions(+), 2 deletions(-)
---
diff --git a/download/win32.php b/download/win32.php
index 47ddc45..3b4df60 100755
--- a/download/win32.php
+++ b/download/win32.php
@@ -26,13 +26,178 @@ ob_start();
 <h4>Which Windows versions?</h4>
 <p>The current GTK+ stack uses APIs that are available only on Windows 2000 or later. Long obsolete versions 
of GTK+ did run on Win9x and NT 4, too.</p>
 
+<h4>Tutorial</h4>
+<p>An installation and usage <a href="win32_tutorial.php">tutorial</a> is available for beginners.</p>
+
 <h3><a name="StableRelease">Downloads</a></h3>
 
 <p>There are three types of downloads below. <strong>Run-time</strong> provide only the DLLs and other files 
used you will need to run a GTK+-using application. <strong>Dev</strong> packages provide include files, 
import libraries, documentation and additional tools, and also for reference the script used to build the 
component in question. In case patches have been applied to the upstream sources before building, these are 
inline in the build script. <strong>Source</strong> packages provide the source code for the component in 
question. In most cases, this is simply the pristine upstream source release tarball, possibly copied to the 
same server as the binaries to satisfy the license.</p>
+<p>If you want to repackage the necessary run-time files together with your application into an installer, 
you can choose to leave out for instance message catalogs for languages that your application isn't localised 
to anyway.</p>
+
+<h3>GTK+ 3.x</h3>
+<p>GTK+ 3.4.2 is the current maintained version.</p>
+
+<h4>All-in-one bundles</h4>
+<p>If you find choosing, downloading and unpacking the individual zip archives below a chore, there is an <a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/3.4/gtk+-bundle_3.4.2-20130314_win32.zip"; 
class="download">all-in-one bundle</a> of the GTK+ stack including 3rd-party dependencies. The bundle 
contains both run-time and developer files. Many of the developer files are relatively irrelevant. If you 
intend to redistribute the GTK+ run-time, you can use this <a href="win32_contentlist.php">content list</a> 
to figure out which files you can leave out yourself. A new bundle will ideally be provided here whenever one 
of the member packages has been updated.</p>
+
+<h4>GTK+ individual packages</h4>
+
+<table>
+       <tr>
+               <th>Package</th>
+               <th>Version</th>
+               <th colspan="3">Downloads</th>
+       </tr>
+       <tr class="even">
+               <td>GLib</td>
+               <td>2.32.3</td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.32/glib_2.32.3-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.32/glib-dev_2.32.3-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.3.tar.xz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="odd">
+               <td>ATK</td>
+               <td>2.4.0</td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/binaries/win32/atk/2.4/atk_2.4.0-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/binaries/win32/atk/2.4/atk-dev_2.4.0-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/sources/atk/2.4/atk-2.4.0.tar.xz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="even">
+               <td>Pango</td>
+               <td>1.30.0</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.30/pango_1.30.0-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.30/pango-dev_1.30.0-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/sources/pango/1.30/pango-1.30.0.tar.xz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="odd">
+               <td>gdk-pixbuf</td>
+               <td>2.26.1</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gdk-pixbuf/2.26/gdk-pixbuf_2.26.1-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gdk-pixbuf/2.26/gdk-pixbuf-dev_2.26.1-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.26/gdk-pixbuf-2.26.1.tar.xz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="even">
+               <td>GTK+</td>
+               <td>3.4.2</td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/3.4/gtk+_3.4.2-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/3.4/gtk+-dev_3.4.2-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://ftp.gnome.org/pub/gnome/sources/gtk+/3.4/gtk+-3.4.2.tar.xz"; 
class="download">Sources</a></td>
+       </tr>
+</table>
+
+<h4>Required third party dependencies</h4>
+<p>The run-time packages here are required by the GTK+ stack.</p>
+
+<table>
+       <tr>
+               <th>Package</th>
+               <th>Version</th>
+               <th colspan="3">Downloads</th>
+       </tr>
+
+       <tr class="even">
+               <td>zlib</td>
+               <td>1.2.7</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib_1.2.7-1_win32.zip"; 
class="download">Run-time </a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev_1.2.7-1_win32.zip"; 
class="download">Dev </a></td>
+               <td><a href="http://www.zlib.net/zlib127.zip"; class="download">Sources</a></td>
+       </tr>
+
+       <tr class="odd">
+               <td>cairo</td>
+               <td>1.10.2</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.10.2-2_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.10.2-2_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://cairographics.org/releases/cairo-1.10.2.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="even">
+               <td>libpng</td>
+               <td>1.5.11</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.5.11-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.5.11-1_win32.zip"; 
class="download">Dev</a></td>
+               <td></td>
+       </tr>
+
+       <tr class="odd">
+               <td>Freetype</td>
+               <td>2.4.10</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/freetype_2.4.10-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/freetype-dev_2.4.10-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/freetype-2.4.10.tar.bz2"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="even">
+               <td>Fontconfig</td>
+               <td>2.9.0</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig_2.9.0-2_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig-dev_2.9.0-2_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://www.fontconfig.org/release/fontconfig-2.9.0.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="odd">
+               <td>expat</td>
+               <td>2.0.1</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip"; 
class="download">Dev</a></td>
+               <td></td>
+       </tr>
+
+       <tr class="even">
+               <td>gettext-runtime</td>
+               <td>0.18.1.1</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip"; 
class="download">Run-time</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev_0.18.1.1-2_win32.zip"; 
class="download">Dev</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-0.18.1.1.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+</table>
+
+<h4>Other third party software</h4>
+<p>These packages are not needed to run software that uses just GTK+, or to develop such software. These 
packages are used when building and running more complex applications.</p>
+
+<table>
+
+       <tr>
+               <th>Package</th>
+               <th>Version</th>
+               <th colspan="3">Downloads</th>
+       </tr>
+
+       <tr class="even">
+               <td>pixman</td>
+               <td>0.26.0</td>
+               <td></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pixman-dev_0.26.0-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a href="http://cairographics.org/releases/pixman-0.26.0.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="odd">
+               <td>pkg-config</td>
+               <td>0.27</td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.27-1_win32.zip"; 
class="download">Tool</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.27-1_win32.zip"; 
class="download">Dev</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.27.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+       <tr class="even">
+               <td>gettext-tools</td>
+               <td>0.18.1.1</td>
+               <td></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-dev_0.18.1.1-2_win32.zip"; 
class="download">Dev</a></td>
+               <td><a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-0.18.1.1.tar.gz"; 
class="download">Sources</a></td>
+       </tr>
+
+</table>
 
-<p>GTK+ 2.24 is the current maintained version.</p> <p>If you want to repackage the necessary run-time files 
together with your application into an installer, you can choose to leave out for instance message catalogs 
for languages that your application isn't localised to anyway.</p>
+<h3>GTK+ 2.x</h3>
+<p>GTK+ 2.24 is the current maintained version.</p>
 
-<h3>All-in-one bundles</h3>
+<h4>All-in-one bundles</h4>
 <p>If you find choosing, downloading and unpacking the individual zip archives below a chore, there is an <a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip"; 
class="download">all-in-one bundle</a> of the GTK+ stack including 3rd-party dependencies. The bundle 
contains both run-time and developer files. Many of the developer files are relatively irrelevant. If you 
intend to redistribute the GTK+ run-time, you need to figure out which files you can leave out yourself. A 
new bundle will ideally be provided here whenever one of the member packages has been updated.</p>
 
 <h4>GTK+ individual packages</h4>
diff --git a/download/win32_contentlist.php b/download/win32_contentlist.php
new file mode 100644
index 0000000..7fe50e9
--- /dev/null
+++ b/download/win32_contentlist.php
@@ -0,0 +1,89 @@
+<?php
+$nav = "tutorial";
+$title = "GTK+ Bundle content list and description";
+ob_start();
+?>
+<h2><a name="ContentListDesc">GTK+ Bundle content list and description</a></h2>
+
+<h3><a name="ContentList">Content list</a></h3>
+
+<h4>/bin</h4>
+<ul>
+ <li> libatk-1.0-0.dll : Accessibility Toolkit runtime. Interface used by accessibility functions like 
high-contrast visual themes and keyboard modifiers. <strong>Required.</strong> </li>
+ <li> libcairo-2.dll : Cairo runtime. Used internally by GDK-Pixbuf to draw surfaces. 
<strong>Required.</strong> </li>
+ <li> libcairo-gobject-2.dll : Cairo GObject binding runtime. <strong>Required.</strong> </li>
+ <li> libcairo-script-interpreter-2.dll : Script interpreter for Cairo. </li>
+ <li> libcroco-0.6-3.dll : CSS2 Parsing library runtime. <strong><font color="red">SVG 
support.</font></strong> </li>
+ <li> libexpat-1.dll : XML parser library runtime. <strong>Required.</strong> </li>
+ <li> libffi-5.dll : LibFFI runtime. Bridge between interpreted and compiled code. 
<strong>Required.</strong> </li>
+ <li> libfontconfig-1.dll : Fontconfig runtime. Font sets detection. <strong>Required.</strong> </li>
+ <li> libfreetype-6.dll : FreeType runtime. Portable font engine. <strong>Required.</strong> </li>
+ <li> libgailutil-3-0.dll : GTK+ Accessibility Implementation Library Utilities runtime. </li>
+ <li> libgcc_s_dw2-1.dll : GCC shared runtime. <strong>Required.</strong> </li>
+ <li> libgdk_pixbuf-2.0-0.dll : GDK-Pixbuf runtime. Image loading and pixel buffer manipulation. 
<strong>Required.</strong> </li>
+ <li> libgdk-3-0.dll : GDK runtime. GIMP Drawing Kit. Wraps low-level drawing and windowing functions used 
by each supported platform for use by GTK+. Each platform is designated as a "backend". 
<strong>Required.</strong> </li>
+ <li> libgio-2.0-0.dll : GIO runtime. Filesystem operations abstraction layer for GLib. 
<strong>Required.</strong> </li>
+ <li> libglib-2.0-0.dll : GLib runtime. General-use functions acting as an abstraction layer between the 
software and the underlying OS. <strong>Required.</strong> </li>
+ <li> libgmodule-2.0-0.dll : GModule runtime. Provides GLib with dynamic module loading. 
<strong>Required.</strong> </li>
+ <li> libgobject-2.0-0.dll : GObject runtime. Provides GLib with OOP functions. <strong>Required.</strong> 
</li>
+ <li> libgthread-2.0-0.dll : GThread runtime. Provides GLib with thread management. </li>
+ <li> libgtk-3-0.dll : GTK+3 runtime. GIMP Toolkit. <strong>Required.</strong> </li>
+ <li> libiconv-2.dll : Iconv runtime. Text conversion between Unicode and traditional encoding. 
<strong>Required.</strong> </li>
+ <li> libintl-8.dll : Gettext Internationalization runtime. Allons on-the-fly translation of text using 
locale files. <strong>Required.</strong> </li>
+ <li> libjpasper-1.dll : JPEG-2000 runtime. Renders JPEG-2000 images. </li>
+ <li> libjpeg-8.dll : LibJPEG runtime. Renders classic JPEG images. </li>
+ <li> liblzma-5.dll : LibLZMA runtime. LZMA and XZ compression support. <strong><font color="red">SVG 
support.</font></strong> </li>
+ <li> libpango-1.0-0.dll : Pango runtime. Internationalized text rendering. <strong>Required.</strong> </li>
+ <li> libpangocairo-1.0-0.dll : Pango Cairo runtime. Render text onto Cairo surfaces. 
<strong>Required.</strong> </li>
+ <li> libpangoft2-1.0-0.dll : Pango FreeType runtime. <strong>Required.</strong> </li>
+ <li> libpangowin32-1.0-0.dll : Pango Win32 runtime . <strong>Required.</strong> </li>
+ <li> libpixman-1-0.dll : Pixman runtime. Required by Cairo. <strong>Required.</strong> </li>
+ <li> libpng15-15.dll : LibPNG runtime. Renders PNG images. <strong>Required.</strong> </li>
+ <li> librsvg-2-2.dll : SVG runtime. Renders SVG images. <strong><font color="red">SVG 
support.</font></strong> </li>
+ <li> libxml2-2.dll : XML parser library runtime. <strong><font color="red">SVG support.</font></strong> 
</li>
+ <li> zlib1.dll : zlib runtime. GZIP compression support. <strong>Required.</strong> </li>
+</ul>
+
+<h4>/etc</h4>
+<ul>
+ <li> /gtk-3.0/settings.ini : applications-wide settings. </li>
+ <li> * : miscellaneous files. </li>
+</ul>
+
+<h4>/include</h4>
+<ul>
+ <li> Header files, only needed for development. </li>
+</ul>
+
+<h4>/lib</h4>
+<ul>
+ <li> /gdk-pixbuf-2.0 : GDK-Pixbuf modules. <strong><font color="red">SVG support.</font></strong> </li>
+ <li> /gtk-3.0 : GTK+-IM modules. </li>
+ <li> /pango : Pango modules. </li>
+ <li> * : import libraries, headers, pkg-config files... only needed for development. </li>
+</ul>
+
+<h4>/share</h4>
+<ul>
+ <li> /doc : license and copyleft. </li>
+ <li> /gtk-3.0 : resource files for <i>gtk3-demo</i> program.</li>
+ <li> /gtk-doc : documentation in HTML format. </li>
+ <li> /icons : icon themes, used by <i>gtk3-demo</i> and <i>gtk3-widget-factory</i>. </li>
+ <li> /locale : localization files. <strong><font color="green"> Internationalized text support.</font> 
Required.</strong> </li>
+ <li> /themes : graphical themes. </li>
+ <li> * : miscellaneous files. </li>
+</ul>
+
+<h3><a name="Description">Description</a></h3>
+
+<ul>
+ <li>
+  <p>To distribute a minimal GTK+3 program, ship the DLLs marked as <strong>Required</strong> above.</p>
+ </li>
+
+ <li>
+  <p>To distribute a GTK+3 program using .SVG images, ship the DLLs marked with <strong><font 
color="red">SVG support</font></strong> above, including the "<strong>lib\gdk-pixbuf-2.0</strong>" folder 
under the root.</p>
+ </li>
+</ul>
+
+<?php require '../template.php';
diff --git a/download/win32_tutorial.php b/download/win32_tutorial.php
new file mode 100644
index 0000000..86d11cf
--- /dev/null
+++ b/download/win32_tutorial.php
@@ -0,0 +1,113 @@
+<?php
+$nav = "tutorial";
+$title = "GTK+ installation and usage tutorial: Windows";
+ob_start();
+?>
+<h2><a name="Tutorial">Installation and usage tutorial for Windows</a></h2>
+
+<h3><a name="Releasing">Releasing your program</a></h3>
+<p>You should always ship all needed DLLs & files with your binaries. End-users should not be required to 
download the bundle themselves.</p>
+
+<h3><a name="Requirements">Requirements</a></h3>
+<p>GTK+3 is known to work on Windows XP, Vista, 7 and 8 at this date.</p>
+<p>Developers might want to have a working <a href="http://www.mingw.org";>MinGW</a> or MSVC installation.</p>
+
+<h3><a name="Setup">Initial setup</a></h3>
+
+<ol>
+ <li>
+  <p>Download the latest <a 
href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/3.4/gtk+-bundle_3.4.2-20130314_win32.zip";>all-in-one 
bundle</a> and extract it using right-click -> "Extract All...".
+  Choose a location at your will ; we will call it <strong>%GTKDIR%</strong> during next phases.</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-01.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-01.png" /></a></p>
+ </li>
+
+ <li>
+  <p>
+  Add <strong>%GTKDIR%\bin</strong> to your PATH environment variable :
+  <ul>
+   <li>Windows XP : right-click on "My Computer" -> "Properties".</li>
+   <li>Windows Vista/7 : right-click on "Computer" -> "Properties" -> "Advanced system settings".</li>
+  </ul>
+  </p>
+  <p>Click on "Advanced tab" -> "Environment variables". Double-click on <strong>PATH</strong> line in 
"System variables" panel, and add <strong>;%GTKDIR%\bin</strong> at the end of the text.</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-02.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-02.png" /></a></p>
+  <p><a href="../images/screenshots/screenshot-tutorial-02a.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-02a.png" /></a></p>
+ </li>
+
+ <li>
+ <p> 
+  Optionally, open a console (<i>Start -> Run -> "cmd"</i> or <i>Start -> search for "cmd"</i>) and type the 
following commands :
+  <ul><strong>
+   <li>pango-querymodules > %GTKDIR%\etc\pango\pango.modules</li>
+   <li>gdk-pixbuf-query-loaders > %GTKDIR%\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache</li>
+   <li>gtk-query-immodules-3.0 > %GTKDIR%\lib\gtk-3.0\3.0.0\immodules.cache</li>
+  </strong></ul>
+ </p>
+ </li>
+
+ <li>
+  <p>Let's test ! Still in a console or in the "Run" window, run the demo : <strong>gtk3-demo</strong></p>
+  <p><a href="../images/screenshots/screenshot-tutorial-03.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-03.png" /></a></p>
+ </li>
+</ol>
+
+
+<h3><a name="Developing">Developing wth GTK+3</a></h3>
+
+<h4>MinGW</h4>
+<p>You should have a working installation, i.e. "gcc.exe" already in your PATH.</p>
+
+<ol>
+ <li>
+  <p>In the console, verify that "pkg-config" prints out something reasonable by typing :</p>
+  <p><strong>pkg-config --cflags --libs gtk+-3.0</strong></p>
+  <p><a href="../images/screenshots/screenshot-tutorial-04.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-04.png" /></a></p>
+ </li>
+
+ <li>
+  <p>Use this output in your further compilation commands, like this one :</p>
+  <p><strong>gcc -o gtk3.exe gtk3.c -mms-bitfields -Ic:/gtk3/include/gtk-3.0 -Ic:/gtk3/include/atk-1.0 
-Ic:/gtk3/include/cairo</strong> [...]</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-04a.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-04.png" /></a></p>
+ </li>
+
+ <li>
+  <p>Test the resulting executable (here <strong>gtk3.exe</strong>) :</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-04b.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-04b.png" /></a></p>
+ </li>
+</ol>
+
+<h4>MSVC</h4>
+
+<ol>
+ <li>
+  <p>Open the Visual Studio Command Prompt :</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-05.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-05.png" /></a></p>
+ </li>
+
+ <li>
+  <p>In the console, verify that "pkg-config" prints out something reasonable by typing :</p>
+  <p><strong>pkg-config --cflags gtk+-3.0</strong></p>
+  <p><a href="../images/screenshots/screenshot-tutorial-05a.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-05a.png" /></a></p>
+ </li>
+
+ <li>
+  <p>Use this output in your further compilation commands, like this one, modifying the following : <br />
+  <ul>
+   <li>delete the "<i>-mms-bitfields</i>" switch ;</li>
+   <li>add the "<i>-Dinline= /link /libpath:%GTKDIR% gtk-win32-3.0.lib gobject-2.0.lib</i>" switches at the 
end.</li>
+  </ul>
+  </p>
+  For instance :
+  <p><strong>cl gtk3.c -mms-bitfields -Ic:/gtk3/include/gtk-3.0 -Ic:/gtk3/include/atk-1.0</strong> [...] 
<strong>-Dinline= /link /libpath:c:/gtk3/lib gtk-win32-3.0.lib gobject-2.0.lib</strong></p>
+  <p><a href="../images/screenshots/screenshot-tutorial-05b.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-05b.png" /></a></p>
+  <p><i>("gtk-win32-3.0.lib gobject-2.0.lib" are a minimal requirement. You may want to add other .lib files 
as you need them)</i></p>
+ </li>
+
+ <li>
+  <p>Test the resulting executable (here <strong>gtk3.exe</strong>) :</p>
+  <p><a href="../images/screenshots/screenshot-tutorial-04b.png" class="image"><img 
src="../images/screenshots/screenshot-tutorial-04b.png" /></a></p>
+ </li>
+
+
+
+<?php require '../template.php';
diff --git a/images/screenshots/screenshot-tutorial-01.png b/images/screenshots/screenshot-tutorial-01.png
new file mode 100644
index 0000000..b8e6807
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-01.png differ
diff --git a/images/screenshots/screenshot-tutorial-02.png b/images/screenshots/screenshot-tutorial-02.png
new file mode 100644
index 0000000..5594100
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-02.png differ
diff --git a/images/screenshots/screenshot-tutorial-02a.png b/images/screenshots/screenshot-tutorial-02a.png
new file mode 100644
index 0000000..9971f26
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-02a.png differ
diff --git a/images/screenshots/screenshot-tutorial-03.png b/images/screenshots/screenshot-tutorial-03.png
new file mode 100644
index 0000000..590b7be
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-03.png differ
diff --git a/images/screenshots/screenshot-tutorial-04.png b/images/screenshots/screenshot-tutorial-04.png
new file mode 100644
index 0000000..ef7461e
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-04.png differ
diff --git a/images/screenshots/screenshot-tutorial-04a.png b/images/screenshots/screenshot-tutorial-04a.png
new file mode 100644
index 0000000..4b07e14
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-04a.png differ
diff --git a/images/screenshots/screenshot-tutorial-04b.png b/images/screenshots/screenshot-tutorial-04b.png
new file mode 100644
index 0000000..a74dae9
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-04b.png differ
diff --git a/images/screenshots/screenshot-tutorial-05.png b/images/screenshots/screenshot-tutorial-05.png
new file mode 100644
index 0000000..d36ba8f
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-05.png differ
diff --git a/images/screenshots/screenshot-tutorial-05a.png b/images/screenshots/screenshot-tutorial-05a.png
new file mode 100644
index 0000000..743eee8
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-05a.png differ
diff --git a/images/screenshots/screenshot-tutorial-05b.png b/images/screenshots/screenshot-tutorial-05b.png
new file mode 100644
index 0000000..ac26f1d
Binary files /dev/null and b/images/screenshots/screenshot-tutorial-05b.png differ


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