Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75229

Re: .Net Like Gui Builder for Python?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wingusr@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(even': 0.05; 'handler': 0.05; 'subject:Python': 0.06; '(especially': 0.07; '*not*': 0.07; 'attribute': 0.07; 'mess': 0.09; 'pixel': 0.09; 'things,': 0.09; 'window.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; 'creates': 0.14; 'blend': 0.16; 'drag': 0.16; 'handler.': 0.16; 'handlers': 0.16; "microsoft's": 0.16; 'tab': 0.16; 'view)': 0.16; 'so.': 0.16; 'wrote:': 0.18; 'app': 0.19; 'widget': 0.19; 'select': 0.22; 'programming': 0.22; 'email addr:gmail.com&gt;': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'adds': 0.24; 'choices': 0.24; 'lets': 0.24; '(or': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'developers': 0.25; 'second': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'generally': 0.29; 'properties': 0.29; "doesn't": 0.30; 'css': 0.30; 'designer': 0.30; 'message- id:@mail.gmail.com': 0.30; 'asked': 0.31; 'code': 0.31; '(although': 0.31; '25,': 0.31; 'apparently': 0.31; 'doc': 0.31; 'quite': 0.32; 'text': 0.33; 'open': 0.33; 'fri,': 0.33; 'raw': 0.33; 'could': 0.34; 'anywhere': 0.35; 'created': 0.35; '(2)': 0.35; 'editor': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'limitations': 0.36; "i'll": 0.36; 'possible': 0.36; 'subject:?': 0.36; 'similar': 0.36; 'too': 0.37; 'two': 0.37; 'list': 0.37; 'level': 0.37; 'easily': 0.37; 'being': 0.38; 'skip:& 10': 0.38; 'initially': 0.38; 'window': 0.38; 'pm,': 0.38; 'rather': 0.38; 'skip:& 20': 0.39; 'does': 0.39; 'visual': 0.39; 'enough': 0.39; 'how': 0.40; 'even': 0.60; 'easy': 0.60; 'applicable': 0.60; 'expression': 0.60; 'first': 0.61; "you've": 0.63; 'making': 0.63; 'provide': 0.64; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'overall': 0.69; 'press': 0.70; 'wish': 0.70; 'legal': 0.71; 'designers': 0.74; 'jul': 0.74; 'different.': 0.84; 'discovering': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=jUQnYAVSJVI53/2wuYV5LnHG0gKIyxjQhFbukYCoRRQ=; b=SFK5vTcwwnILtXzmjxMh47HT94mkwItcymZjSUOttP4dCMLAhloRdBaL6UH2MKSSme /tEv+GLJTG95aAyaQaWsXBRK0OqjaQ35sCiLROB8eIb9HOwyGFwkM7gxfMYj1Et0h8L6 EO5H46L6rC8zxLnNZJZ7mfzCVeSvzms52kDbJU2kl8LZ2g8tXkOrd/wR1+G/EqmSSpV/ A+urSzdWDzO1fWa/QvtsXGweVrHPZ5LBf0DU9xuuIlw4g9kCVZLspQ5mDRcBoBzJGuhG djcwIsTgmhWFaoU4034mnsUfFnoU1BmQvDN+WxYZ5dtElzmC2u9o9OxQgtMw3kqgb+Ac SWXw==
X-Received by 10.194.174.35 with SMTP id bp3mr26542839wjc.33.1406348061838; Fri, 25 Jul 2014 21:14:21 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <CAPTjJmoauPmkQxfzCoJWBcMCNQ-pZYkbnhAeMb8CoSQcPD60wQ@mail.gmail.com>
References <b0a3a9c3-9a57-4e17-95c1-dffb81d0c5ee@googlegroups.com> <53D2CAD8.1040306@schwertberger.de> <CAPTjJmoauPmkQxfzCoJWBcMCNQ-pZYkbnhAeMb8CoSQcPD60wQ@mail.gmail.com>
From TP <wingusr@gmail.com>
Date Fri, 25 Jul 2014 21:13:41 -0700
Subject Re: .Net Like Gui Builder for Python?
To Chris Angelico <rosuav@gmail.com>
Content-Type multipart/alternative; boundary=089e01419ffaa8159b04ff10ecb2
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12333.1406348068.18130.python-list@python.org> (permalink)
Lines 106
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406348068 news.xs4all.nl 2872 [2001:888:2000:d::a6]:33438
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75229

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jul 25, 2014 at 7:40 PM, Chris Angelico <rosuav@gmail.com> wrote:

> The OP asked for two things, which I'll separate because they're
> actually quite different.
>
> 1) Drag and drop widgets to create a window
> 2) Double-click a widget to edit its code (presumably event handler)
>
> I have used a number of GUI toolkits that did provide the first one,
> but the second is a lot more restrictive than you might think
>


Not that I disagree with the overall point of just using a text editor
(especially for Python GUIs) but apparently you've never created a C# WPF
app using Visual Studio? WPF fully supports layout controls, is *not*
generally pixel based it's more similar to HTML + CSS (although you do
pixel perfect layout if you try), and still easily does (2). And while I
almost exclusively use the Visual Studio XAML tab view rather than
bothering with the Designer view you can drag & drop if you really want to.
And Microsoft's Expression Blend takes that to a whole 'nother level
supposedly making it easy for "even" graphic designers to create GUIs
without delving too much into raw code wrangling.

One of the nice things about VIsual Studio and WPF (even in the XAML view)
is its Properties window. This lets you select a control and see all the
applicable possible properties and what legal choices you have for setting
them. This is an incredible aid to discovering how to use said controls.

And as far as any limitations of (2) goes, I still like using the Events
view of the Properties window to initially hook up an event handler. This
automatically creates a  "correctly" (or at least consistently) named and
argumented event handler and adds the proper attribute to the XAML. It is
easy enough to then mess around with the generated code if that doesn't
quite suit your needs. Having the list of possible event handlers all in
one place instead of having to look up the doc is invaluable. And being
able to press F1 just about anywhere and have the relevant document open up
is even more so.

As far as I've seen Visual Studio + WPF really is state of the art for GUI
building. I wish more developers were familiar with all its capabilities so
they could know what to whine for in their own programming environment :)

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

.Net Like Gui Builder for Python? Orochi <kartikjagdale11@gmail.com> - 2014-07-25 07:55 -0700
  Re: .Net Like Gui Builder for Python? Orochi <kartikjagdale11@gmail.com> - 2014-07-25 08:19 -0700
  Re: .Net Like Gui Builder for Python? Jerry Hill <malaclypse2@gmail.com> - 2014-07-25 14:11 -0400
  Re: .Net Like Gui Builder for Python? Sturla Molden <sturla.molden@gmail.com> - 2014-07-25 20:04 +0000
  Re: .Net Like Gui Builder for Python? Dietmar Schwertberger <maillist@schwertberger.de> - 2014-07-25 23:23 +0200
  Re: .Net Like Gui Builder for Python? Chris Angelico <rosuav@gmail.com> - 2014-07-26 12:40 +1000
  Re: .Net Like Gui Builder for Python? Michael Torrie <torriem@gmail.com> - 2014-07-25 21:33 -0600
  Re: .Net Like Gui Builder for Python? TP <wingusr@gmail.com> - 2014-07-25 21:13 -0700
  Re: .Net Like Gui Builder for Python? Chris Angelico <rosuav@gmail.com> - 2014-07-26 14:37 +1000
  Re: .Net Like Gui Builder for Python? Martin S <shieldfire@gmail.com> - 2014-07-26 09:19 +0200
  Re: .Net Like Gui Builder for Python? Martin S <shieldfire@gmail.com> - 2014-07-26 09:13 +0200
  Re: .Net Like Gui Builder for Python? Chris Angelico <rosuav@gmail.com> - 2014-07-26 19:05 +1000
  Re: .Net Like Gui Builder for Python? Dietmar Schwertberger <maillist@schwertberger.de> - 2014-07-26 12:14 +0200
  Re: .Net Like Gui Builder for Python? Chris Angelico <rosuav@gmail.com> - 2014-07-26 20:25 +1000
  Re: .Net Like Gui Builder for Python? Martin S <shieldfire@gmail.com> - 2014-07-26 12:33 +0200
  Re: .Net Like Gui Builder for Python? Sturla Molden <sturla.molden@gmail.com> - 2014-07-26 10:51 +0000
    Re: .Net Like Gui Builder for Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-26 13:44 +0000
  Re: .Net Like Gui Builder for Python? Dietmar Schwertberger <maillist@schwertberger.de> - 2014-07-26 13:28 +0200
  Re: .Net Like Gui Builder for Python? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-07-26 14:40 -0400
    Re: .Net Like Gui Builder for Python? Steve Hayes <hayesstw@telkomsa.net> - 2014-07-27 06:49 +0200
      Re: .Net Like Gui Builder for Python? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-07-27 10:10 +0200
        Re: .Net Like Gui Builder for Python? Steve Hayes <hayesstw@telkomsa.net> - 2014-07-27 14:24 +0200
          Re: .Net Like Gui Builder for Python? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-07-27 14:42 +0200
            Re: .Net Like Gui Builder for Python? Steve Hayes <hayesstw@telkomsa.net> - 2014-07-28 04:33 +0200
      Re: .Net Like Gui Builder for Python? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-07-27 11:30 -0400
      Re: .Net Like Gui Builder for Python? Sturla Molden <sturla.molden@gmail.com> - 2014-07-27 18:32 +0000
      Re: .Net Like Gui Builder for Python? Michael Torrie <torriem@gmail.com> - 2014-07-27 22:26 -0600
      Re: .Net Like Gui Builder for Python? Sturla Molden <sturla.molden@gmail.com> - 2014-07-28 10:14 +0000
  Re: .Net Like Gui Builder for Python? CM <cmpython@gmail.com> - 2014-07-27 10:46 -0700
  Re: .Net Like Gui Builder for Python? Kevin Walzer <kw@codebykevin.com> - 2014-07-27 14:48 -0400
    Re: .Net Like Gui Builder for Python? Sturla Molden <sturla.molden@gmail.com> - 2014-07-28 09:59 +0000

csiph-web