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


Groups > comp.lang.python > #54323

Re: Python GUI?

Newsgroups comp.lang.python
Date 2013-09-17 09:51 -0700
References (1 earlier) <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> <mailman.85.1379435171.18130.python-list@python.org>
Message-ID <fa45eaa3-293e-417b-a215-de6f8cfb1650@googlegroups.com> (permalink)
Subject Re: Python GUI?
From rusi <rustompmody@gmail.com>

Show all headers | View raw


On Tuesday, September 17, 2013 9:49:28 PM UTC+5:30, Benjamin Kaplan wrote:
> On Tue, Sep 17, 2013 at 7:55 AM, rusi  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.

Thanks for the explanation. However I am not able to square it up:

You seem to be saying that QT draws on a blank canvas rather than calling out to the OS library.
You also seem to be saying that QT (for the most part) Does the Right Thing for each platform.

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