]>
Commit | Line | Data |
---|---|---|
b75b6d4c RR |
1 | \section{wxGTK port}\label{wxgtkport} |
2 | ||
8de699dc MR |
3 | wxGTK is a port of wxWidgets using the GTK+ library. |
4 | It makes use of GTK+'s native widgets wherever possible and uses | |
5 | wxWidgets' generic controls when needed. GTK+ itself has been | |
6 | ported to a number of systems, but so far only the original X11 | |
7 | version is supported. Support for other GTK+ backends is planned, | |
8 | such as the new DirectFB backend. | |
b75b6d4c | 9 | |
8de699dc MR |
10 | All work is being done on GTK+ version 2.0 and above. Support for |
11 | GTK+ 1.2 will be deprecated in a later release. | |
12 | ||
13 | You will need GTK+ 2.0 or higher which is available from: | |
298fe32f JS |
14 | |
15 | \urlref{http://www.gtk.org}{http://www.gtk.org} | |
b75b6d4c | 16 | |
8de699dc MR |
17 | The newer version of GTK+ you use, the more native widgets and |
18 | features will be utilized. We have gone to a great extent to | |
19 | allow compiling wxWidgets applications with a latest version of | |
20 | GTK+, with the resulting binary working on systems even with a | |
21 | much lower version of GTK+. You will have to ensure that the | |
22 | application is launched with lazy symbol binding for that. | |
23 | ||
fc2171bd | 24 | In order to configure wxWidgets to compile wxGTK you will |
8de699dc MR |
25 | need use the {\tt --with-gtk} argument to the {\tt configure} script. |
26 | This is the default for many systems. | |
b75b6d4c | 27 | |
8de699dc MR |
28 | GTK+ 1.2 can still be used, albeit discouraged. For that you can |
29 | pass {\tt --with-gtk=1} to the {\tt configure} script. | |
298fe32f JS |
30 | |
31 | For further information, please see the files in docs/gtk | |
32 | in the distribution. | |
b75b6d4c | 33 |