very lightweight gui for win32 + python 3.4
theller at ctypes.org
Fri Sep 12 20:35:37 CEST 2014
Am 12.09.2014 18:38, schrieb Chris Angelico:
> On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt <gandalf at shopzeus.com> wrote:
>> So I need to create a GUI mode version of my program. That the customer
>> should be able to see a progress bar. What kind of GUI toolkit should I use
>> for this? I would like this to be lightweight, preferably under 5MB with a
>> very easy API for simple things like create a dialog, put some labels and a
>> progress bar on it, and finally close the dialog when the program is
>> finished. (And of course, needs to work with cx Freeze.)
>> I do not need a full featured cross platform GUI toolkit. What are my
>> I have been looking at this:
>> The only Windows specific lightweight frameworks are venster and Ocean but
>> they have not been updated since ages. I know that I can do this using the
>> win32 API, but I don't really want to learn how to build a dialog using
>> win32 API calls and then process window message queues.... wxPython and Qt
>> are well known but they are not exactly lightweight.
I would recommend to look into Pyglet - it uses the native windows api
via ctypes calls (and is cross-platform as well).
I have never used it myself, all this info is from the web pages.
> There's absolutely no reason to go Windows-specific. Use Tkinter -
> it's pretty light-weight. Comes with most Python distros. See how it
> goes in terms of code size - if it's unsuitable, then look at others,
> but start with the obvious option.
Does Tkinter really work well with cx_Freeze? I doubt it (from my
experiences with py2exe).
More information about the Python-list