4

Because I like to future-proof my programs as much as I possibly can, I use the latest technologies under development. However, GTK (along with many other widget toolkits) does not appear to be compatible with Python 3. Are there any widget toolkits that fully support Python 3?

Thanks.

terrygarcia
  • 477
  • 5
  • 22
  • This is so dumb. Is python 3 just less popular? Still? This sounds like a case where you have to use either a deprecated binding or unsupported version of a language. Or use QT, a toolkit developed in 15 years ago before pokemon was released. – obesechicken13 Aug 18 '13 at 04:01
  • I guess you can temporarily use python 2.6 then easily switch when PyObject releases a new version for python 3.x. Any idea when that will happen? The last release seems to be April 2011. http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.28/ – obesechicken13 Aug 18 '13 at 04:07

1 Answers1

6

Currently, there are two main ways of doing GTK+ programming with Python:

Of these, only the second method works with Python 3. This work is fairly new, and you are likely going to face some bugs here and there, and perhaps changing API, not to mention not-enough documentation. If you proceed anyways, go join the mailing list and/or the IRC channel, #python @irc.gimp.net, but do start with the tutorial.

tshepang
  • 12,111
  • 21
  • 91
  • 136
  • not to mention not-enough documentation, it is not really an issue with the bindings made dynamics using introspection since, then the documentation made for C development of Gtk will work just the same. – erick2red Aug 20 '11 at 23:39