Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
scuri committed Nov 17, 2012
1 parent c37bc3b commit 42ec688
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
14 changes: 13 additions & 1 deletion html/en/drv/gtk.html
Expand Up @@ -14,7 +14,7 @@

<h2>GTK System Driver<span class="style1"> (since 3.0)</span></h2>
<p>This driver was designed for the GTK+
version 2. It can be compiled in Windows or UNIX.</p>
version 2 and 3. It can be compiled in Windows or UNIX.</p>
<p>Although GTK has layout elements they are not used. IUP fill, vbox, hbox and
zbox containers are implemented independent from the native system.</p>
<p>The oldest GTK version that can be used is 2.4, oldest versions will not
Expand All @@ -23,6 +23,18 @@ <h2>GTK System Driver<span class="style1"> (since 3.0)</span></h2>
<p>Currently it is not available for IRIX, AIX and SunOS. But is it available
for SunOS10 and it is not available for Linux24.</p>
<h3>Tips</h3>
<h4>GTK 3.x (since 3.7)</h4>
<p>GTK 3.x is supported. But the pre-compiled binaries are still build with GTK
2.x. This is because GTK 3 implies in a big change for drawing applications, and
most Tecgraf applications are heavily graphics dependent. The main change is
that GDK does not have drawing primitives anymore, and all drawing is performed
by Cairo. Cairo does not have support for XOR used by many drawing applications
to perform a selection rubber band. Also Cairo could have a different behavior
for some primitives. So while the applications are adapted to the new situation
the pre-compiled files will remain with GTK 2.x</p>
<p>To build the driver with GTK 3.x support define USE_GTK3=Yes before calling
make in the &quot;iup/src&quot; folder. Just the main library must be rebuilt. Also, if CD
is used, the CD main library must be rebuilt with the same parameter.</p>
<h4>Dependencies</h4>
<p>GTK is in fact composed of several libraries. The GTK package contains the
GDK library and depends on the ATK, Cairo, Glib and Pango libraries.</p>
Expand Down
5 changes: 3 additions & 2 deletions html/en/guide.html
Expand Up @@ -142,13 +142,14 @@ <h4>GTK+ (since 3.0)</h4>
<p>In UNIX it will need the X-Windows libraries just like the Motif driver. And
in UNIX or in Windows it will need the &quot;iupgtk&quot; library and the following GTK+
libraries:</p>
<pre><b>gtk-win32-2.0 gdk-win32-2.0</b> gdk_pixbuf-2.0 pango-1.0 <b>pangowin32-1.0</b> gobject-2.0 gmodule-2.0 glib-2.0
<pre><b>gtk-win32-2.0/gtk-3 gdk-win32-2.0/gdk-3</b> gdk_pixbuf-2.0 pango-1.0 <b>pangowin32-1.0</b> gobject-2.0 gmodule-2.0 glib-2.0
or
<b>gtk-x11-2.0 gdk-x11-2.0</b> gdk_pixbuf-2.0 pango-1.0 <b>pangox-1.0</b> gobject-2.0 gmodule-2.0 glib-2.0</pre>
<b>gtk-x11-2.0/gtk-3 gdk-x11-2.0/gdk-3</b> gdk_pixbuf-2.0 pango-1.0 <b>pangox-1.0</b> gobject-2.0 gmodule-2.0 glib-2.0</pre>
<p>In UNIX the following INCLUDES paths are necessary:</p>
<pre>/usr/include/atk-1.0 /usr/include/gtk-2.0 /usr/include/cairo /usr/include/pango-1.0 /usr/include/glib-2.0
and eventually: /usr/lib/glib-2.0/include /usr/lib/gtk-2.0/include
or /usr/lib64/glib-2.0/include /usr/lib64/gtk-2.0/include</pre>
<p>To build the driver with GTK 3.x support define USE_GTK3=Yes before calling make in the "iup/src" folder. Just the main library must be rebuilt. </p>
<h4>Multithread</h4>
<p>User interface is usually not thread safe and IUP is not thread safe. The
general recommendation when you want more than one thread is to build the
Expand Down
5 changes: 4 additions & 1 deletion html/en/history3.html
Expand Up @@ -58,10 +58,13 @@ <h2 align="center">History of Changes in Version 3.x</h2>

</p>

<h3>CVS (05/Nov/2012)</h3>
<h3>CVS (16/Nov/2012)</h3>

<ul>

<li><span class="hist_new">New:</span> support for GTK 3. The pre-compiled
binaries still use GTK 2. See the <a href="drv/gtk.html">GTK</a> driver
documentation.</li>
<li><span class="hist_new">New:</span> layout composition element <strong>
IupScrollBox</strong>.</li>
<li><span class="hist_new">New:</span> <strong>SHOWDRAGDROP</strong>
Expand Down
1 change: 0 additions & 1 deletion html/en/to_do.html
Expand Up @@ -41,7 +41,6 @@ <h3>Roadmap for the Next Versions</h3>
<h4>For 3.7 (November 2012)</h4>

<ul>
<li>New support for GTK 3</li>
<li>Fix better focus
control when changing the current tab in <strong>IupTabs</strong>.</li>
</ul>
Expand Down

0 comments on commit 42ec688

Please sign in to comment.