Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77818
| From | Thomas Heller <theller@ctypes.org> |
|---|---|
| Subject | Re: very lightweight gui for win32 + python 3.4 |
| Date | 2014-09-12 20:35 +0200 |
| References | <541320D4.5030800@shopzeus.com> <CAPTjJmrWukpGymi0KWJJRkEVDPN_bs6iQVg7amQU7LH7NGLFww@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13980.1410546893.18130.python-list@python.org> (permalink) |
Am 12.09.2014 18:38, schrieb Chris Angelico: > On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt <gandalf@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 >> options? >> >> I have been looking at this: >> >> https://wiki.python.org/moin/GuiProgramming >> >> 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).
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: very lightweight gui for win32 + python 3.4 Thomas Heller <theller@ctypes.org> - 2014-09-12 20:35 +0200
Re: very lightweight gui for win32 + python 3.4 Grant Edwards <invalid@invalid.invalid> - 2014-09-13 01:19 +0000
Re: very lightweight gui for win32 + python 3.4 Thomas Heller <theller@ctypes.org> - 2014-09-13 13:31 +0200
Re: very lightweight gui for win32 + python 3.4 Christian Gollwitzer <auriocus@gmx.de> - 2014-09-14 17:15 +0200
csiph-web