Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a native-looking GUI be made with Python

I haven't gotten far enough into Python to make GUIs yet, so I thought I'd ask here. Can a python app be made with the windows default style GUI, or will it have its own style? The only screenshots I've seen of a python app running with a GUI had this ugly win95 look to it.

like image 516
Kefka Avatar asked Apr 16 '10 00:04

Kefka


2 Answers

The "ugly" Windows 95 look is determined by the version of the Common Dialog library.

Supplying a manifest file with the executable (probably your Python implementation) makes Windows use of visual styles, instead of the "ugly" look.

Read more here: http://msdn.microsoft.com/en-us/library/ms997646.aspx

like image 153
Pindatjuh Avatar answered Nov 09 '22 03:11

Pindatjuh


You (and the rest of the world, really ;)) should take a look at PyGUI, by Greg Ewing. In his own words, it's "a project to develop a cross-platform pythonic GUI API." Not only that, it attempts to generate native-looking GUIs on each of the three major platforms.

When I'd last checked it, more than a year ago, it seemed dead, but now I see there was a new release on February 2010, which is great news.

like image 30
rbp Avatar answered Nov 09 '22 04:11

rbp