Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create instructions on how to make the GUI work on Windows #21

Open
kodchi opened this issue Jun 4, 2013 · 5 comments
Open

Create instructions on how to make the GUI work on Windows #21

kodchi opened this issue Jun 4, 2013 · 5 comments

Comments

@kodchi
Copy link
Contributor

kodchi commented Jun 4, 2013

No description provided.

@kodchi
Copy link
Contributor Author

kodchi commented Jun 6, 2013

So it doesn't look like there is an easy way to get pygobject working on windows. I think there is a way to compile it using mingw, but I haven't tried it.

I think GTK+3 itself is pretty new, so it takes some time before we can use it with pygobject.

jsmidt, are we still going with GTK+ or do you want to see other alternatives?

@QuantPy
Copy link

QuantPy commented Jun 6, 2013

I think given these issues the options are:

  1. Use GTK+2 which may be better supported. http://zetcode.com/gui/pygtk/. Looks like it should work with matplotlib: http://matplotlib.org/examples/user_interfaces/embedding_in_gtk.html
  2. Use PyQt: http://zetcode.com/tutorials/pyqt4/ which are a common used and mature bindings for the Qt toolkit. matplotlib is supposed to work with pyQt4: http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html
  3. Use PySide: http://zetcode.com/gui/pysidetutorial/ which is the newer non-3rd party Qt bindings. I know matplotlib is supposed to work with pyside: http://wiki.scipy.org/Cookbook/Matplotlib/PySide It looks like GUI elements of matplotlib are possibly even based on pyside: http://qt-project.org/wiki/PySide_Based_Apps

Here are some more examples: http://matplotlib.org/examples/user_interfaces/

You decide what is the best option to go with. I am fine with any as long as Windows, Mac and Linux users can install which I believe is the case for all these three.

@jsmidt
Copy link
Owner

jsmidt commented Jun 6, 2013

Sorry, that last comment was really from me.

@kodchi
Copy link
Contributor Author

kodchi commented Jun 6, 2013

I think I'll give GTK+3 another try because GTK+2 is an old technology, and I'm not really familiar with QT. If I can get GTK+3 working on Windows, we'll use it right? Getting it to work on Mac should be easier.

@QuantPy
Copy link

QuantPy commented Jun 6, 2013

Okay, if you can get it working then sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants