| Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 | 1. widgets not appearing correctly with wxGTK #4063 Posted by: berre 2004-05-07 21:09:38 | Hi,
is just me or is it impossible to skin wxGTK applications? No matter what I do, all widgets appear as they are bare-bone X11 applications, no GTK widgets are in sight...
All apps builds correctly, no error messages, wxGTK is compiled and installed and I can't seem to find any information telling me how to do this... :(
Greatly appreciated if anybody can help!
(Using Debian sarge and wxGTK 2.4 btw.) | 2. Re: widgets not appearing correctly with wxGTK #4210 Posted by: 2004-05-24 03:25:45 | I have noticed the exact same thing on my config (debian sid, libwxgtk24).
I think it's because wxWidgets use GTK+ and not GTK2. The style of the applications is GTK, but the old one, not the current one. :-/ | 3. Re: widgets not appearing correctly with wxGTK #4214 Posted by: upCASE 2004-05-24 14:47:23 | Hi! Check wxWindow::SetThemeEnabled(bool b). Not sure but maybe this is the solution. Otherwise: You can compile wxWidgets with support for GTK2 instead of GTK+.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! | 4. Re: widgets not appearing correctly with wxGTK #4226 Posted by: 2004-05-26 04:03:07 | Thanks for the trick upcase :)))))
But I saw this in the wxWidgets help : Dialogs, notebook pages and the status bar have this flag set to TRUE by default so that the default look and feel is simulated best.
So I think the SetThemeEnabled is activated by default and as we see it doesn't work well. I really think it's because it's compiled for GTK+ and not GTK2.
The problem : I think there's no debian package for wxGTK2 ? | 5. Re: widgets not appearing correctly with wxGTK #4234 Posted by: upCASE 2004-05-26 14:56:51 | Hi! Quoting from the INSTALL file:* The GTK+ 2 case -----------------
wxGTK 2.4.2 has support for the new version 2.0.X of GTK+. This means that wxGTK apps can now make use Unicode as the underlying encoding for all text operations. This is a very fundamental change and will need time to stabilize, so be careful. Anyways, after installing a recent version of GTK+ 2.0, do this
> ./configure --with-gtk --enable-gtk2 --enable-unicode > make > su <type root password> > make install > ldconfig > exit
If you are adventurous, you can install the FcConfig 2.0 package and the Pango library from CVS (or a very recent snapshot from the upcoming 1.2 series) and set do "export GDK_USE_XFT=1" so that the display as well as the printing code will use render using the same FreeType code even for Far Eastern encodings. and* GUI libraries --------------- wxWindows/GTK requires the GTK+ library to be installed on your system. It has to be a stable version, preferably version 1.2.10 (at least 1.2.3 is required, 1.2.7 is strongly recommended).
You can get the newest version of the GTK+ from the GTK homepage at:
http://www.gtk.org
We also mirror GTK+ at my ftp site. You'll find information about downloading at my homepage. Good luck :)
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! | Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 |
|
|