Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dietmar Schwertberger Newsgroups: comp.lang.python Subject: Re: Everything good about Python except GUI IDE? Date: Sun, 28 Feb 2016 20:09:51 +0100 Lines: 28 Message-ID: References: <64a6599c-fae1-469d-bcee-875165b3cc7d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de cOIsc+l5l+DonCfxAzuWcQiJ+Mx4xrLVTxExHrvJI56Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'received:134': 0.05; 'handlers': 0.09; 'ide': 0.09; 'inherited': 0.09; 'objects.': 0.09; 'outlined': 0.09; 'runtime': 0.09; 'python': 0.10; 'options.': 0.15; 'drag': 0.16; 'editor,': 0.16; 'folding': 0.16; 'integrated.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'runtime.': 0.16; 'subject:GUI': 0.16; 'textual': 0.16; 'wrote:': 0.16; 'gui': 0.18; 'code.': 0.23; 'properties': 0.24; 'somewhere': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'idea': 0.28; 'received:192.168.10': 0.29; 'objects': 0.29; "i'm": 0.30; 'comments': 0.30; 'code': 0.30; "i'd": 0.31; 'probably': 0.31; 'ideal': 0.32; 'source': 0.33; 'editor': 0.34; 'file': 0.34; 'could': 0.35; 'text': 0.35; 'integrate': 0.35; 'but': 0.36; 'there': 0.36; 'tool': 0.36; 'form,': 0.36; 'loaded': 0.36; 'projects.': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'drop': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'some': 0.40; 'your': 0.60; 'suitable': 0.61; 'charset:windows-1252': 0.62; 'expert': 0.70; 'click': 0.76; 'plate': 0.84; 'subject:good': 0.84; 'different.': 0.91; 'received:192.168.0.5': 0.91 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-Virus-Scanned: clamav-milter 0.98.7 at mxout1 X-Virus-Status: Clean DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailerdienst.de; s=dkim; t=1456686602; bh=zaMbVVSy7Z2GCG5BKPl2MzQo87c3YMqPaZXstT9vUkk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=HOow2bEe9PrxfMTjVsOcqapKoYs4IvmKesb6r89wj7fiN5GYZEH2q0v6S88HvoYn6 Ld/HpGFHS4Chq020+EXHJHqieV/VKLnroJRfHyNbOSSKnvBxb2pd8FcfY23yqcnu8q lCudZJ0j5p8oUYhVIFnFIcRP7Wc6e4kl8rbEybgI= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103657 On 28.02.2016 19:47, mm0fmf wrote: > I'm no C# expert but I inherited the support of some C# projects. One > uses a form to hold the UI objects. When the program is loaded in VS, > you see the form and you can drag and drop objects to the form and > edit the object properties (text, font, colours etc.). The result of > your visual work is rendered in the C# source with some code folding > options. If you don't click the folds in the editor you don't get to > see that the form editor generates the C# code you need to call to > generate the objects. There are suitable comments through the > generated code warning you not to edit it as it is regenerated etc. > > The result is you use a visual tool to generate the boiler plate code. > Knowing MS tools I'd be very suprised if the same idea is not used in > VB. Somewhere there will be a text file with the VB boilerplate code > to generate the form. The VB 6 setup was different. GUI editor, IDE and runtime were tightly integrated. In VB 6, you don't see such boiler plate code. You only see the form, the textual representation of the form and the code that you enter into the event handlers etc. The form is then rendered by the VB runtime. But what you outlined for C# is probably the way that the ideal Python GUI editor would go. When you think about how a RAD tool could look like and how to integrate with IDEs, you automatically come to such a setup with comments as markers/separators for the automatically generated code. Regards, Dietmar