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


Groups > comp.lang.python > #34993

How to exactly set style in tkinter.ttk

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <netrick@o2.pl>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.023
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'url:sourceforge': 0.03; 'tkinter': 0.07; 'subject:How': 0.09; 'python': 0.09; 'subject:set': 0.09; '(the': 0.15; 'url:unix': 0.16; 'widgets.': 0.16; 'windows': 0.19; 'app': 0.19; 'written': 0.20; 'example': 0.23; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'thanks!': 0.26; 'received:10.0.0': 0.28; 'docs': 0.33; 'idle': 0.33; 'received:10.0': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'built-in': 0.35; 'so,': 0.35; 'there': 0.35; 'but': 0.36; 'anything': 0.36; 'one,': 0.37; '(for': 0.37; 'nothing': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'link': 0.60; '8bit%:20': 0.62; 'more': 0.63; 'received:pl': 0.69; 'subjectcharset:utf-8': 0.72; 'received:193.17': 0.84
Subject How to exactly set style in tkinter.ttk
From Netrick <netrick@o2.pl>
To python-list@python.org
In-Reply-To <mailman.0.1355763505.11668.python-list@python.org>
References <mailman.0.1355763505.11668.python-list@python.org>
Mime-Version 1.0
Date Mon, 17 Dec 2012 18:02:54 +0100
X-Originator 94.231.5.239
Content-Type multipart/alternative; boundary="==o2.pl-WebMail-15d9f706.507266f5.8c0c6=="
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.971.1355765162.29569.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1355765162 news.xs4all.nl 6971 [2001:888:2000:d::a6]:46961
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:34993

Show key headers only | View raw


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

So, we have now in python 3 the tile module http://tktable.sourceforge.net/tile/screenshots/unix.html integrated as tkinter.ttk. However, in the python and tk docs there is a lot about that tkk, but only how to set your own style for specific widgets. There is nothing on how to use that built-in theme (the one that interests me is the "Revitalized" one, see the link I wrote) as a global style for all widgets. How can I do it? I just want my python 3.3 app to use that built-in style, but I can't find anything in docs about it.
 
Or we have better way for tkinter on linux to look more native and less ugly? (for example IDLE for python 3.3 written in tkinter looks like windows 95 app on linux and pretty good on windows xp).
 
Thanks!

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


Thread

How to exactly set style in tkinter.ttk Netrick <netrick@o2.pl> - 2012-12-17 18:02 +0100

csiph-web