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


Groups > comp.lang.python > #75237

Re: .Net Like Gui Builder for Python?

References <b0a3a9c3-9a57-4e17-95c1-dffb81d0c5ee@googlegroups.com> <53D2CAD8.1040306@schwertberger.de> <CAPTjJmoauPmkQxfzCoJWBcMCNQ-pZYkbnhAeMb8CoSQcPD60wQ@mail.gmail.com> <CAMEax75TbPPuKZfsTLxtVubOAgXCn4wLpT-z9NmgerReEkZ-8Q@mail.gmail.com>
Subject Re: .Net Like Gui Builder for Python?
From Martin S <shieldfire@gmail.com>
Date 2014-07-26 09:19 +0200
Newsgroups comp.lang.python
Message-ID <mailman.12341.1406359200.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

>From the newbie point of view, VS is the perfect tool to get people coding. All the way back to Visual Basic, Microsoft has consistently pushed the ease of creating applications for Windows as a point of adoption. 

Hence Borland Delphi, and the now abandoned Kylix. Pascal has the Lazarus project, which builds on Delphi - so there is a point in integrating gui building in the RAD. 

/martin 

On 26 Jul 2014, TP <wingusr@gmail.com> wrote:


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 :)

-- 
https://mail.python.org/mailman/listinfo/python-list


-- Sent with K-@ Mail - the evolution of emailing.

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