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


Groups > comp.lang.python > #54065

Re: Python GUI?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bsk16@case.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'tkinter': 0.07; '*is*': 0.09; 'app,': 0.09; 'clean.': 0.09; 'debugging.': 0.09; 'excluding': 0.09; 'toolkit': 0.09; 'python': 0.11; 'gui': 0.12; 'language.': 0.14; "wouldn't": 0.14; 'windows': 0.15; '(it': 0.16; '(use': 0.16; 'matters,': 0.16; 'on)': 0.16; 'personally,': 0.16; 'pygtk,': 0.16; 'scratch': 0.16; 'subject:GUI': 0.16; 'tkinter.': 0.16; 'to:name:python list': 0.16; 'tweak': 0.16; 'wxpython': 0.16; '\xc2\xa0i': 0.16; 'thursday,': 0.16; 'wrote:': 0.18; 'app': 0.19; 'trying': 0.19; 'things.': 0.19; 'code,': 0.22; 'programming': 0.22; 'email addr:gmail.com&gt;': 0.22; 'stick': 0.24; 'why.': 0.24; 'looks': 0.24; "i've": 0.25; '&gt;': 0.26; 'class.': 0.26; 'compiled': 0.26; 'least': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'michael': 0.29; 'am,': 0.29; 'generally': 0.29; 'xml': 0.29; "doesn't": 0.30; 'designer': 0.30; 'heading': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'program,': 0.31; 'code': 0.31; 'too.': 0.31; 'towards': 0.31; '(although': 0.31; 'markup': 0.31; 'sep': 0.31; 'file': 0.32; 'linux': 0.33; 'mac': 0.33; 'moment': 0.34; "i'd": 0.34; 'received:209.85': 0.35; 'something': 0.35; 'etc': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'adjust': 0.36; 'controls': 0.36; 'programming,': 0.36; 'right?': 0.36; "didn't": 0.36; 'method': 0.36; 'subject:?': 0.36; 'should': 0.36; 'behind': 0.37; 'too': 0.37; 'received:209': 0.37; 'button': 0.38; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'anything': 0.39; 'does': 0.39; '12,': 0.39; 'extremely': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'most': 0.60; 'ago.': 0.61; 'managers': 0.61; 'numbers': 0.61; 'email addr:gmail.com': 0.63; 'kind': 0.63; 'choose': 0.64; 'more': 0.64; 'different': 0.65; 'between': 0.67; 'design.': 0.68; 'designers': 0.74; 'layout.': 0.84; 'messed': 0.84; 'native.': 0.84; 'recompile': 0.84; 'good,': 0.91; 'whereas': 0.91; '2013': 0.98
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=GhAxIxodjoARgBskXy/SEaoB0YwtKKnQDv4PIo0p12w=; b=IuyaxxoAS60ATR9SSSizf5pPh3Etq3qd15YSFCBJ8CDqClmLAzt9C8uKWPzlj2n+yY OZn5ovSFh+tZVCq/VptPlLQLWaQdadmHLA90KOvlN9muqeKvYz+gJW2KNYTFv+OfRtuP qyNkIQ619f9J2MlbhsX0uC5BGPKe+4aAWyEdjC2rR1MRUVc4pEj8nZxWdW/GKB4/BwkX MlBOYQIK+q7WBU8/VZEgkDEqlHvO4NggPxxHWmIeYOt+P3mc8zkPogHrATM3W+CtEfxI rHD10/vqyU1Nc5VJ5mGSZ9yuA8Gr/OeHJqSuJhHliO/qNzJ6KM9ltHUC1s+oa6D1/689 IAGQ==
X-Gm-Message-State ALoCoQnzZH9jXDQF/oYXC5n5z8Tstv8O86YCm+12hWCGKoe+dDkBqitXd8bE/Ebblly9RK+UeoAjoYzsqJn8AELWTNWJpmrOuYd6pHPB5OBpYfHXoCcdKlTxcx2qlByRoD0FAl4chtuy9sFRUCA5gbvXtcQrOiRGFw==
X-Received by 10.182.24.105 with SMTP id t9mr1974466obf.86.1379004709568; Thu, 12 Sep 2013 09:51:49 -0700 (PDT)
MIME-Version 1.0
X-Received by 10.182.24.105 with SMTP id t9mr1974454obf.86.1379004709430; Thu, 12 Sep 2013 09:51:49 -0700 (PDT)
In-Reply-To <c2b4b1f4-6942-42c8-9675-2c74345d92d7@googlegroups.com>
References <1a8b14b3-85f3-4515-ba43-9b40e1a89f1d@googlegroups.com> <mailman.297.1378962331.5461.python-list@python.org> <c2b4b1f4-6942-42c8-9675-2c74345d92d7@googlegroups.com>
Date Thu, 12 Sep 2013 09:51:49 -0700
Subject Re: Python GUI?
From Benjamin Kaplan <benjamin.kaplan@case.edu>
To Python List <python-list@python.org>
Content-Type multipart/alternative; boundary=001a11c2a330d9764604e6328d6e
X-Junkmail-Whitelist YES (by domain whitelist at mpv1.tis.cwru.edu)
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.318.1379004713.5461.python-list@python.org> (permalink)
Lines 211
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379004713 news.xs4all.nl 15895 [2001:888:2000:d::a6]:38255
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54065

Show key headers only | View raw


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

On Sep 12, 2013 9:06 AM, <eamonnrea@gmail.com> wrote:
>
> On Thursday, September 12, 2013 6:05:14 AM UTC+1, Michael Torrie wrote:
> > On 09/11/2013 02:55 PM, eamonnrea@gmail.com wrote:
> >
> > > PyQT -- You have a GUI designer, so I'm not going to count that
> >
> > What do you mean?  Gtk has a GUI designer too.  what of it
> >
> > > I, personally, really like wxPython, but I also really like Tkinter.
> >
> > > I've messed with PyGTK, but I'd choose wxPython over it.
> >
> > Not me.  wxWidgets' event model is way too MFC-esque for me.  Does it
> >
> > still use event numbers that you define?  Shudder.
> >
> > Gtk and Qt's method of signals and slots is by far the most powerful and
> > flexible.
> >
> > > Have you got anything to say on what one I should be using(excluding
> >
> > > PyQT because it has a D&D designer >:( )? Is Tkinter really dead?
> >
> > > Should I stick with wxPython?
> > I still don't understand why you are excluding Qt.  All modern toolkits
> >
> > are heading towards imperative GUI design.  With Gtk I use Glade and
> >
> > GtkBuilder.  My GUI is in a nice XML file that gets loaded and
> >
> > manipulated by my python class.  It's extremely clean.  And in the case
> >
> > of compiled programming, you don't have to recompile just to tweak
> >
> > something like a layout.
> > At the moment if someone were to come in from scratch and ask what GUI
> > toolkit to use, I would answer Qt with PySide.  It's the most
> > cross-platform of all the toolkits, and it's one of the most mature.
> >
> > Gtk is also good, but Windows and Mac support is always lagging behind
> >
> > X11, and it's not as good at fitting into the native look and feel.
>
> > > Also, with wxPython, it has kind of a "flow" layout like JFrame,
> >
> > > whereas it will adjust it's layout to look like a native Mac App,
> >
> > > Windows app or Linux App, correct? It'll look almost identical,
> >
> > > right? Not that it matters, I'm just curious! :D
> >
> >
> >
> > Possibly.  I know Qt and Gtk both can flip the button orders, etc to
> >
> > look more native.  And all good toolkits give you layout managers so you
> >
> > never have to resort to fixed layouts.  Qt's layout system is very
> >
> > different than Gtk's, but once you get the feel of it (use the Qt
> >
> > Designer program!), it makes a lot of sense.
>
> I didn't realise GTK has a GUI designer too :(
>
> I don't like it when you can D&D to position things. I don't understand
why someone wouldn't want to write the positioning code, and have fun with
the debugging. That's the best part about writing a program, in my opinion.
I'm against D&D with programming, and I'm not sure why.
> --
>

There are gui designers for wx as well. Doesn't mean you ever have to use
any of them (although I wouldn't want to write windows forms code by hand).
I do find it generally nicer to work with the markup formats (xrc for wx,
xaml for wpf, and so on) rather than trying to describe a gui in a
programming language.

The main difference between wx and qt is that qt looks native on every
platform while wx *is* native on every platform (it uses native controls
wherever possible). This means that wx integrates into the OS better, but
your also more likely to need OS-specific tweaks in wx, at least from my
experience from a few years ago.

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


Thread

Python GUI? eamonnrea@gmail.com - 2013-09-11 13:55 -0700
  Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-11 23:05 -0600
    Re: Python GUI? eamonnrea@gmail.com - 2013-09-12 09:03 -0700
      Re: Python GUI? Robert Kern <robert.kern@gmail.com> - 2013-09-12 17:23 +0100
        Re: Python GUI? Dave Cook <davecook@nowhere.net> - 2013-09-12 18:50 +0000
          Re: Python GUI? Dave Cook <davecook@nowhere.net> - 2013-09-12 21:36 +0000
      Re: Python GUI? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-09-12 09:51 -0700
        Re: Python GUI? rusi <rustompmody@gmail.com> - 2013-09-17 07:55 -0700
          Re: Python GUI? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-09-17 09:19 -0700
            Re: Python GUI? rusi <rustompmody@gmail.com> - 2013-09-17 09:51 -0700
              Re: Python GUI? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-09-17 10:57 -0700
          Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-18 14:10 -0600
      Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-12 21:02 -0600
        Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 11:23 -0700
          Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-13 22:03 -0600
            Re: Python GUI? Wolfgang Keller <feliphil@gmx.net> - 2013-09-14 19:15 +0200
              Re: Python GUI? Dave Cook <davecook@nowhere.net> - 2013-09-15 22:13 +0000
      Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-12 21:18 -0600
    Re: Python GUI? Dave Cook <davecook@nowhere.net> - 2013-09-12 18:35 +0000
  Re: Python GUI? Jerry Hill <malaclypse2@gmail.com> - 2013-09-12 13:09 -0400
  Re: Python GUI? Ian Foote <ian@feete.org> - 2013-09-12 21:17 +0100
  Re: Python GUI? Peter <peter.milliken@gmail.com> - 2013-09-12 20:39 -0700
    Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-12 22:15 -0600
  Re: Python GUI? CM <cmpython@gmail.com> - 2013-09-12 22:14 -0700
  Re: Python GUI? Kevin Walzer <kw@codebykevin.com> - 2013-09-13 09:27 -0400
    Re: Python GUI? Terry Reedy <tjreedy@udel.edu> - 2013-09-13 15:47 -0400
  Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 10:31 -0700
    Re: Python GUI? John Gordon <gordon@panix.com> - 2013-09-13 18:39 +0000
      Re: Python GUI? Joe Junior <joe.fbs.junior@gmail.com> - 2013-09-13 15:49 -0300
        Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 12:37 -0700
          Re: Python GUI? Joe Junior <joe.fbs.junior@gmail.com> - 2013-09-13 16:50 -0300
            Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 13:40 -0700
          Re: Python GUI? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-14 00:21 +0000
            Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 17:38 -0700
              Re: Python GUI? Ben Finney <ben+python@benfinney.id.au> - 2013-09-14 11:23 +1000
                Re: Python GUI? eamonnrea@gmail.com - 2013-09-14 04:54 -0700
                Re: Python GUI? Chris Angelico <rosuav@gmail.com> - 2013-09-14 22:07 +1000
          Re: Python GUI? Dave Angel <davea@davea.name> - 2013-09-14 02:05 +0000
        Re: Python GUI? Neil Cerutti <neilc@norwich.edu> - 2013-09-13 19:56 +0000
          Re: Python GUI? eamonnrea@gmail.com - 2013-09-13 13:40 -0700
    Re: Python GUI? llanitedave <llanitedave@veawb.coop> - 2013-09-18 19:47 -0700
  Re: Python GUI? petmertens@gmail.com - 2013-09-13 10:51 -0700
  Re: Python GUI? Metallicow <metaliobovinus@gmail.com> - 2013-09-20 11:34 -0700
    Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-20 13:49 -0600
      Re: Python GUI? Metallicow <metaliobovinus@gmail.com> - 2013-09-20 12:58 -0700
        Re: Python GUI? Michael Torrie <torriem@gmail.com> - 2013-09-20 16:49 -0600
    Re: Python GUI? Robert Kern <robert.kern@gmail.com> - 2013-09-21 00:34 +0100

csiph-web