Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'python.': 0.04; 'instance': 0.05; 'doing,': 0.16; 'into.': 0.16; 'openoffice': 0.16; 'pygtk,': 0.16; 'wrote:': 0.16; "haven't": 0.20; 'subject:help': 0.22; 'assume': 0.22; 'header:In-Reply-To:1': 0.22; 'depends': 0.28; 'toolkit': 0.30; 'widget': 0.30; 'components': 0.32; 'this.': 0.32; 'implement': 0.32; "can't": 0.33; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'list.': 0.35; 'similar': 0.35; 'using': 0.37; 'but': 0.37; 'somewhat': 0.38; 'subject:: ': 0.39; 'received:192': 0.39; 'window': 0.39; 'subject:with': 0.39; 'data': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; 'your': 0.61; 'life': 0.63; 'received:62': 0.70; 'subject:Hello': 0.72; 'from:addr:t': 0.84; 'windowing': 0.84 Date: Mon, 05 Sep 2011 12:40:07 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Hello, and request for help with 'dynamic grids' References: <4E645BA6.4070500@fossworkflowguides.com> In-Reply-To: <4E645BA6.4070500@fossworkflowguides.com> X-Enigmail-Version: 1.3.1 OpenPGP: id=5C8691ED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1315219182 news.xs4all.nl 2507 [2001:888:2000:d::a6]:50544 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12765 On 05/09/11 07:18, Simon Cropper wrote: > I am looking for the ability to create dynamic grids in a window but > can't for the life of me find how to do this. It depends on which windowing toolkit you're planning to use. If you use PyGTK, you'd want a TreeView widget to display the list. Fill a ListStore instance with your data and give that to the TreeView. You can implement filtering and sorting on top of that using TreeModelFilter and TreeModelSort. LibreOffice and OpenOffice have database management components (I haven't used them, I assume they're somewhat similar to MS Access) - and they can be scripted using Python. Depending on what you're doing, and what you're planning to do in the future (re learning investment), that might be worth looking into. Thomas