4

I'm trying to port a small app to windows (I made it for ubuntu initally), it's written on python + gtk3... I know that gtk3 is hard to make it work on windows (even on c++), but is it possible to make it work on Windows with Python?

I do not want to re-write it on another toolkit, and if so, it will probably be wxWidgets, because I'm using an embedded terminal on it (Vte.Terminal()), that IIRC is part of gtk3 too.

If it's not possible, is there a way to make a terminal widget on wxPython in Windows?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Hairo
  • 2,062
  • 5
  • 27
  • 33

3 Answers3

5

Id doesn't look like you can use gtk3 on windows quite yet, although it looks like development for such is very active at this point link. You may also want to check out this post because it may help with your gtk3 question. In response to your question on whether you can create a terminal in wxPython, you'll want to look up this project and check out this stack overflow question. Also, a very similar question to what yours sounds like was asked here. Please let me know if that doesn't help!

Community
  • 1
  • 1
Ben Schwabe
  • 1,283
  • 1
  • 21
  • 36
  • That terminal widget works, but not on windows (i've used it before), and the other two links seem to refer to a bash shell (again, linux, not windows)... i ended up using `pyqt` and poping out the windows command prompt with `subprocess.Popen()`, thanks for the answer anyway... it seems like i'ts impossible to embedd command prompt terminal on window$... – Hairo Sep 06 '12 at 13:51
1

Gtk3 works fine on windows, there is an unofficial .exe from a french man site: http://www.tarnyko.net

I'm developing with gtk3 on windows in this moment, I use gtk 3.6.1.

SteveL
  • 1,811
  • 1
  • 13
  • 23
0

I think, the best way is installing python and gtk3 with msys2. firstly install msys2 and install python and gtk3 using msys2. search on Google "how to install python gobject to msys2"

Nomad
  • 918
  • 6
  • 23