Exploring Python for next desktop GUI Project

Glenn Linderman v+python at g.nevcal.com
Thu Jul 24 15:11:27 EDT 2014


On 7/24/2014 11:15 AM, Chris Angelico wrote:
> On Fri, Jul 25, 2014 at 4:04 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> On 24/07/2014 17:18, Chris Angelico wrote:
>>> The first one is certainly possible. Pick any of the well-known
>>> toolkits (Tkinter, wxwidgets, GTK, etc), and see how it feels. All of
>>> them are portable across the three platforms you name, so see which
>>> one is most comfortable for you to code in and produces the best
>>> results.
>>
>> s/wxwidgets/wxpython/ unless you fancy wrapping it yourself :)
>>
> Yeah that. And pygtk rather than GTK. Or I could have gone the other
> way and said Tk instead of Tkinter. One way or another, I ought to
> have been more consistent. Anyway. Pick a good toolkit, get to know
> it, and use it. Personally, I like GTK, but that's partly because its
> bindings come with Pike, and I did GUI work with Pike before I did
> with Python; the same advantage, for someone starting with Python,
> goes to Tk. But the main thing is, it's easy to be cross-platform -
> take whatever feels good to you.
>
> ChrisA
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?

Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140724/5f25c273/attachment.html>


More information about the Python-list mailing list