0

How to use pygtk on windows 7/8? Can I use pygtk to program GUI for windows applications? There are tutorials for linux os but none for windows, would be glad if someone can share.

Onewildgamer
  • 101
  • 1
  • 2
  • 11
  • I made instructions on this already. http://stackoverflow.com/questions/14567921/python-pygtk-windows-7-64-bit/ – LUser Jul 12 '14 at 08:06

1 Answers1

0

From the PyGTK website:

PyGTK applications are truly multiplatform and they're able to run, unmodified, on Linux, Windows, MacOS X and other platforms.

All of the code and examples presented in the Linux tutorials that you mentioned should also run on Windows 7/8 (assuming you have the GTK libraries installed - you can get an all-in-one bundle for Windows from here).

Jamie
  • 3,890
  • 3
  • 26
  • 35
  • Thanks, I tried. But I get an error whenever I run the programs in my IDLE (I'm using windows 8). – Onewildgamer Mar 17 '13 at 14:09
  • Have you got the GTK+ runtime installed? And the PyGTK, PyCairo and PyObject modules installed? You can get these by following the [steps](http://www.pygtk.org/downloads.html) on the PyGTK website or by installing the [all-in-one bundle](http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/). – Jamie Mar 17 '13 at 14:14