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


Groups > comp.lang.python > #75182

Re: Exploring Python for next desktop GUI Project

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'encoding': 0.05; 'subject:Python': 0.06; 'utf-8': 0.07; 'encode': 0.09; 'framework.': 0.09; 'metrics': 0.09; 'part,': 0.09; 'api': 0.11; 'gui': 0.12; 'windows': 0.15; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'language?': 0.16; 'subject:GUI': 0.16; 'subject:desktop': 0.16; 'text?': 0.16; 'url :qt-project': 0.16; 'used"': 0.16; 'wrote:': 0.18; 'drawing': 0.19; 'widget': 0.19; 'platforms': 0.22; 'example': 0.22; 'header :User-Agent:1': 0.23; 'bytes': 0.24; 'documented': 0.24; 'unicode': 0.24; "i've": 0.25; '(for': 0.26; 'header:In-Reply- To:1': 0.27; 'idea': 0.28; 'appear': 0.29; 'that.': 0.31; '(although': 0.31; 'convenience': 0.31; 'dialog': 0.31; 'font': 0.31; 'piece': 0.31; 'subject:next': 0.31; 'though.': 0.31; 'probably': 0.32; 'mac': 0.33; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'adjust': 0.36; 'in.': 0.36; 'doing': 0.36; 'url:org': 0.36; 'behind': 0.37; 'message-id:@gmail.com': 0.38; 'easiest': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'obtain': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'read': 0.60; 'worry': 0.60; 'new': 0.61; 'times': 0.62; 'making': 0.63; 'such': 0.63; 'attention': 0.75; 'discover': 0.82; '"just': 0.84; 'bounding': 0.84; 'chinese,': 0.84; 'fonts': 0.84; 'glenn': 0.84; 'native.': 0.84; 'scenes': 0.84; 'subject:Project': 0.84; 'choice.': 0.93
X-Virus-Scanned amavisd-new at torriefamily.org
Date Thu, 24 Jul 2014 15:24:15 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: Exploring Python for next desktop GUI Project
References <93c42547-557b-4839-baba-9ed54120595e@googlegroups.com> <CAPTjJmqHprvGkr-OH5botgAgm+9amrTunPnw74NrCjmWPy3AcQ@mail.gmail.com> <lqrhpn$1e3$1@ger.gmane.org> <CAPTjJmqyYv5t23ZDDn7b5kr0XtxERGEE=wGZH_h5YSuU3BNBzA@mail.gmail.com> <53D15A5F.6030907@g.nevcal.com>
In-Reply-To <53D15A5F.6030907@g.nevcal.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
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.12300.1406237073.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406237073 news.xs4all.nl 2836 [2001:888:2000:d::a6]:44685
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75182

Show key headers only | View raw


On 07/24/2014 01:11 PM, Glenn Linderman wrote:
> Not knowing any of these GUI platforms (although I've read some about 
> Tk), I have some questions.
> 
> * Which of them use UTF-8 as their native Unicode interface?
> 
> * Which makes it easiest to discover and adjust font metrics such as 
> kerning?
> 
> * Which makes it easiest to obtain bounding rectangles of a piece of text?
> 
> * Which makes it easiest to use a set of fonts such as Times (for Latin) 
> and others for Cyrillic, Chinese, and Korean? Or which supplies a font 
> configuration that can "just be used" for any language?

Given these new requirements, I think Qt with either PyQt or PySide is
really your only choice.  See the official Qt docs (C++, but same API
and will give you an idea of what's possible):
http://qt-project.org/doc/ .  Qt is probably the best documented of any
GUI framework.  On Windows and Mac it uses the native widget drawing
dlls so things appear native.  Making them feel native will require some
attention on your part, though. For example dialog ttgbutton order,
though I think there are convenience functions for doing that.  Qt is
fully unicode throughout.  Don't worry about what encoding is used
behind the scenes generally.  You can encode to UTF-8 when writing bytes
out, and decode from UTF-8 when reading bytes in.

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


Thread

Exploring Python for next desktop GUI Project Noble Bell <noblebell@gmail.com> - 2014-07-24 08:57 -0700
  Re: Exploring Python for next desktop GUI Project INADA Naoki <songofacandy@gmail.com> - 2014-07-25 01:20 +0900
  Re: Exploring Python for next desktop GUI Project Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-24 11:22 -0500
    Re: Exploring Python for next desktop GUI Project Grant Edwards <invalid@invalid.invalid> - 2014-07-24 16:37 +0000
      Re: Exploring Python for next desktop GUI Project Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-24 13:17 -0500
  Re: Exploring Python for next desktop GUI Project Chris Angelico <rosuav@gmail.com> - 2014-07-25 02:18 +1000
  Re: Exploring Python for next desktop GUI Project Noble Bell <noblebell@gmail.com> - 2014-07-24 09:29 -0700
    Re: Exploring Python for next desktop GUI Project Chris Angelico <rosuav@gmail.com> - 2014-07-25 02:46 +1000
    Re: Exploring Python for next desktop GUI Project Michael Torrie <torriem@gmail.com> - 2014-07-24 15:38 -0600
  Re: Exploring Python for next desktop GUI Project Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-07-24 19:04 +0200
  Re: Exploring Python for next desktop GUI Project Chris Angelico <rosuav@gmail.com> - 2014-07-25 03:09 +1000
  Re: Exploring Python for next desktop GUI Project Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-24 19:04 +0100
  Re: Exploring Python for next desktop GUI Project Chris Angelico <rosuav@gmail.com> - 2014-07-25 04:15 +1000
  Re: Exploring Python for next desktop GUI Project Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-24 13:33 -0500
    Re: Exploring Python for next desktop GUI Project Grant Edwards <invalid@invalid.invalid> - 2014-07-24 21:17 +0000
  Re: Exploring Python for next desktop GUI Project Chris Angelico <rosuav@gmail.com> - 2014-07-25 04:51 +1000
    Re: Exploring Python for next desktop GUI Project Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-07-25 10:28 +1200
  Re: Exploring Python for next desktop GUI Project Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-07-24 21:02 +0200
    Re: Exploring Python for next desktop GUI Project Grant Edwards <invalid@invalid.invalid> - 2014-07-24 21:24 +0000
  Re: Exploring Python for next desktop GUI Project Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-24 14:10 -0500
  Re: Exploring Python for next desktop GUI Project Glenn Linderman <v+python@g.nevcal.com> - 2014-07-24 12:11 -0700
  Re: Exploring Python for next desktop GUI Project Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-24 13:32 -0600
    Re: Exploring Python for next desktop GUI Project Noble Bell <noblebell@gmail.com> - 2014-07-24 13:10 -0700
      Re: Exploring Python for next desktop GUI Project Rob Gaddi <rgaddi@technologyhighland.invalid> - 2014-07-24 13:46 -0700
  Re: Exploring Python for next desktop GUI Project Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-24 15:13 -0500
  Re: Exploring Python for next desktop GUI Project Michael Torrie <torriem@gmail.com> - 2014-07-24 15:24 -0600
  Re: Exploring Python for next desktop GUI Project Michael Torrie <torriem@gmail.com> - 2014-07-24 15:29 -0600
  Re: Exploring Python for next desktop GUI Project Michael Torrie <torriem@gmail.com> - 2014-07-24 15:32 -0600
  Re: Exploring Python for next desktop GUI Project ismeal shanshi <stuffstorehouse2014@gmail.com> - 2014-07-24 14:44 -0700
  Re: Exploring Python for next desktop GUI Project Terry Reedy <tjreedy@udel.edu> - 2014-07-24 19:25 -0400
    Re: Exploring Python for next desktop GUI Project wxjmfauth@gmail.com - 2014-07-26 00:48 -0700
  Re: Exploring Python for next desktop GUI Project Terry Reedy <tjreedy@udel.edu> - 2014-07-24 19:35 -0400
    Re: Exploring Python for next desktop GUI Project Noble Bell <noblebell@gmail.com> - 2014-07-25 06:37 -0700
  Re: Exploring Python for next desktop GUI Project Sturla Molden <sturla.molden@gmail.com> - 2014-07-25 20:04 +0000
  Re: Exploring Python for next desktop GUI Project CM <cmpython@gmail.com> - 2014-07-27 10:53 -0700
    Re: Exploring Python for next desktop GUI Project pecore@pascolo.net - 2014-07-29 00:00 +0200
      Re: Exploring Python for next desktop GUI Project Roy Smith <roy@panix.com> - 2014-07-28 18:01 -0400
        Re: Exploring Python for next desktop GUI Project pecore@pascolo.net - 2014-07-29 21:47 +0200

csiph-web