Support for GTK version 3
Support for GTK version 3
Hi!
As a Linux user, when can we expect to have language bindings to GTK version 3? Version 2 is absolutely obsolete and the current version is 3.6.1!
Best regards
Uwe
As a Linux user, when can we expect to have language bindings to GTK version 3? Version 2 is absolutely obsolete and the current version is 3.6.1!
Best regards
Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Support for GTK version 3
Dear PB team, do you have any plans to implement GTK3 bindings?
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Support for GTK version 3
Well for now GTK2 seems supported by any mainstream linux distro so there is no immediate plans to add such support. That said, it will happen, indeed.
Re: Support for GTK version 3
Thanks Fred for the quick response.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Support for GTK version 3
Actually I read somewhere:
Thanks
So when I decide to use a Linux distro with a GNOME3 base for their GUI (like Elementary) will PB still work?When GNOME3 was released the devs made it impossible to have GNOME2 and 3 on the same machine (by making the package/library names clash).
Thanks
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Support for GTK version 3
Since a couple of days i am running Fedora 18 (64-bit) with the Gnome desktop version 3.6.2. Every application supplied by Fedora uses GTK3. PureBasic 5.10 Beta 4 still runs without any problems. Because PB uses GTK2, it's widgets render different from GTK3. The widgets are also very old and do not have all the most recent features (e.g. the ListIconGadget cannot render progressbar in list column). But this is also a problem of a multi-platform development: to be compatible, you have to limit the features to the minimum possible on all systemsSo when I decide to use a Linux distro with a GNOME3 base for their GUI (like Elementary) will PB still work?Thanks

PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Support for GTK version 3
gnome <> gtkfsw wrote:Actually I read somewhere:So when I decide to use a Linux distro with a GNOME3 base for their GUI (like Elementary) will PB still work?When GNOME3 was released the devs made it impossible to have GNOME2 and 3 on the same machine (by making the package/library names clash).
Thanks
Gtk programs don't need gnome to run. There is no reason why it shouldn't work.
quidquid Latine dictum sit altum videtur
Re: Support for GTK version 3
Sorry for asking my question in the most horrible way.
My question should have pointed to GTK3 libraries and not GNOME3.
(PB uses GTK2 libraries and I implied that GNOME3 relies on GTK3 so there are no GTK2 libraries when GTK3 is installed...)
...
But uwekel already answered it: besides graphical artifacts it seems to work.
Thank you both.
My question should have pointed to GTK3 libraries and not GNOME3.
(PB uses GTK2 libraries and I implied that GNOME3 relies on GTK3 so there are no GTK2 libraries when GTK3 is installed...)
...
But uwekel already answered it: besides graphical artifacts it seems to work.
Thank you both.
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Support for GTK version 3
Actually, now I can answer my own question:
Installed elementary OS and also installed PB5.1b5 and libgtk2-devel onto the GTK3 system.
No hiccups so far.
Will do more testing...
BTW: This Linux distro is still in beta but... man, what a beautiful system, very thought through.
It's a keeper.
Installed elementary OS and also installed PB5.1b5 and libgtk2-devel onto the GTK3 system.
No hiccups so far.
Will do more testing...
BTW: This Linux distro is still in beta but... man, what a beautiful system, very thought through.
It's a keeper.
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Support for GTK version 3
Indeed Elementory OS looks pretty cool! Maybe i'll try it out.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Support for GTK version 3
We had a topic in german forum:fsw wrote:Installed elementary OS and also installed PB5.1b5 and libgtk2-devel onto the GTK3 system.
No hiccups so far.
Will do more testing...
PB works on GTK2 and GTK3 Linux system, but compiled executables don't work on the other system.
Binaries compiled on Ubuntu 10.04 did not run on Ubuntu Studio 12.04.
Binaries compiled on Ubuntu Studio 12.04 did not run on Ubuntu 10.04.
The user released compiled binaries and got that feedback from users, so he tested it
and got the above results.
It could mean you have to compile binaries for 32 and 64bit on a GTK2 and on a GTK3 system (4 versions altogether),
if you want to release binaries for your Linux game/app.
Maybe Fred and freak want to check that (and add it to documentation if it is #True).
Re: Support for GTK version 3
Danilo, thanks for the information.
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Support for GTK version 3
Sorry, but that's simply not true. The German users tried to run a 64 bit binary (contained in the linked archive) on 32 bit distributions. I therefore recompiled the source to a x86 binary and was able to start this binary in 14 different distributions without any problems. So it's definitely not a problem with GTK2 and GTK3 as long as the GTK2 libararies are installed. For details please take a look into my German forum posting...Danilo wrote:We had a topic in german forum:
PB works on GTK2 and GTK3 Linux system, but compiled executables don't work on the other system.
Binaries compiled on Ubuntu 10.04 did not run on Ubuntu Studio 12.04.
Binaries compiled on Ubuntu Studio 12.04 did not run on Ubuntu 10.04.
The user released compiled binaries and got that feedback from users, so he tested it
and got the above results.
It could mean you have to compile binaries for 32 and 64bit on a GTK2 and on a GTK3 system (4 versions altogether),
if you want to release binaries for your Linux game/app.