Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'preferably': 0.05; 'subject: + ': 0.07; 'tkinter': 0.07; 'finished.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'toolkit': 0.09; 'api': 0.11; 'python': 0.11; 'gui': 0.12; 'language.': 0.14; 'windows': 0.15; 'api,': 0.16; 'lightweight.': 0.16; 'received:80.91.229.3': 0.16; 'received:92.29': 0.16; 'received:plane.gmane.org': 0.16; 'subject:gui': 0.16; 'wxpython': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'featured': 0.22; 'this?': 0.23; 'header:User- Agent:1': 0.23; 'bar.': 0.24; 'frameworks': 0.24; "shouldn't": 0.24; 'url:moin': 0.24; 'this:': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'mode': 0.30; 'code': 0.31; 'url:wiki': 0.31; '13,': 0.31; 'dialog': 0.31; 'option.': 0.31; 'sep': 0.31; 'url:python': 0.33; 'updated': 0.34; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'idle': 0.36; 'url:org': 0.36; 'should': 0.36; 'window': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'easy': 0.60; 'most': 0.60; 'full': 0.61; 'simple': 0.61; 'kind': 0.63; 'our': 0.64; 'finally': 0.65; 'close': 0.67; 'obvious': 0.74; 'lightweight': 0.84; 'nagy': 0.84; 'ocean': 0.84; 'absolutely': 0.87; 'subject:very': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: very lightweight gui for win32 + python 3.4 Date: Fri, 12 Sep 2014 18:08:18 +0100 References: <541320D4.5030800@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-92-29-190-207.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1410541722 news.xs4all.nl 2908 [2001:888:2000:d::a6]:49333 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77816 On 12/09/2014 17:38, Chris Angelico wrote: > On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt 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. > > 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. > > ChrisA > As IDLE comes with all Python distros shouldn't the same apply to tkinter as that's what IDLE is based around? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence