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


Groups > comp.lang.python > #54321

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!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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.06; 'canvas': 0.07; 'environments': 0.07; '*is*': 0.09; 'hooks': 0.09; 'pixels': 0.09; 'screen.': 0.09; 'things,': 0.09; 'toolkit': 0.09; 'gui': 0.12; '(it': 0.16; 'benjamin': 0.16; 'non-native': 0.16; 'readers,': 0.16; 'subject:GUI': 0.16; 'sure.': 0.16; 'tab': 0.16; 'thursday,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'bit': 0.19; 'drawing': 0.19; 'addition,': 0.20; 'to:name:python-list@python.org': 0.22; 'looks': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'bunch': 0.31; 'sep': 0.31; 'yourself.': 0.31; 'stuff': 0.32; 'text': 0.33; 'mac': 0.33; 'plain': 0.33; 'screen': 0.34; 'received:209.85': 0.35; 'knows': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'consistent': 0.36; 'controls': 0.36; 'yours,': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'operating': 0.37; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'little': 0.38; 'does': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'read': 0.60; 'blank': 0.60; 'ago.': 0.61; 'such': 0.63; 'provide': 0.64; 'more': 0.64; 'situation': 0.65; 'between': 0.67; 'behavior': 0.77; 'rusi': 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:from:date :message-id:subject:to:content-type; bh=pSFOVSnwD21iepHZfnZFFUflZUPhSrjPoEzai7TFMi4=; b=Md+do6tAsnOL6kOiQVGaZHrOSnCTRbHf4JALwGVXloDr0Vax0k2TbAv50l1sr+0k3w RXOu6zmI2V9/t7dqAFZM4kf4oAx4KB4bS35fOcr3ELidbmJEqwSgNbKsf39I24Q0rq/9 hmcC8HFwq9twpswx3PFf8iOgDkhuk5cOHw2HGHKtVlyGyFZyzo7oqXm4QLxdslFef8/V qfO+ErQijskGsKqIbR33o+rlZf0zVsjAWnMEcp1IT9rEv8x6dyMfXpLgO2Fttpz4l35n WaUpKYwih2FNMzIRIZp9JIeQo7uTJHpj6Danr/yaFGD1C8k8BKI18iqFQ/9LQkGjDuSE 8bSg==
X-Gm-Message-State ALoCoQm+Y/cBAcVYtbCfqK95/7/8d9+BjnucAPurrESVawsv6R0MY3d9ugWvG4J++wrgKc7GRQiCXqEI4Inpr7cp+mwwrHxgJc9QhUjX9wB1Y5qX/+8IpGOvdw1sIZ+Q/UjW5AQF4z4AwTuYxOMTh9o6XBWz0NIt7Q==
X-Received by 10.60.52.81 with SMTP id r17mr31067436oeo.3.1379434788411; Tue, 17 Sep 2013 09:19:48 -0700 (PDT)
X-Received by 10.60.52.81 with SMTP id r17mr31067427oeo.3.1379434788273; Tue, 17 Sep 2013 09:19:48 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <63de767b-1df3-4981-b86e-dbf8fa10c9e0@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> <mailman.318.1379004713.5461.python-list@python.org> <63de767b-1df3-4981-b86e-dbf8fa10c9e0@googlegroups.com>
From Benjamin Kaplan <benjamin.kaplan@case.edu>
Date Tue, 17 Sep 2013 09:19:28 -0700
Subject Re: Python GUI?
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-Junkmail-Whitelist YES (by domain whitelist at mpv2.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.85.1379435171.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379435171 news.xs4all.nl 15888 [2001:888:2000:d::a6]:40144
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54321

Show key headers only | View raw


On Tue, Sep 17, 2013 at 7:55 AM, rusi <rustompmody@gmail.com> wrote:
> On Thursday, September 12, 2013 10:21:49 PM UTC+5:30, Benjamin Kaplan wrote:
>
>> 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.
>
> For someone who is GUI-challenged, can you please expand on that a bit?
> --

Sure. Every platform provides its own GUI library (Cocoa on Mac OS X,
Win32 on Windows). Other programs that want to hook into yours, such
as screen readers, are familiar with the platform's native GUI
elements- it knows what a Win32 combo box is, and it knows how to read
the text inside it.

The other way to make a GUI is to take a blank canvas and draw on it
yourself. This is more flexible and provides a more consistent
experience across platforms, but unless you specifically go out of
your way to provide hooks for other programs to jump in, all they see
is a bunch of pixels on the screen. In addition, drawing your own
stuff won't necessarily give you the "normal for the operating system"
behavior on other things, like tab behavior. It's possible for
non-native GUI environments to mimic this behavior (and QT does a
pretty good job of this), but there's always going to be little things
that seem a bit off.

The situation is a bit more complicated because QT is the native
toolkit on KDE, so in that environment, QT will be more "correct" than
wx, which would be using GTK if present and plain X11 if it isn't.

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