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


Groups > comp.lang.python > #21161

Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <johnjsal@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.053
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'suppose': 0.05; 'tkinter': 0.09; 'to:addr:comp.lang.python': 0.09; 'anyway': 0.09; 'differently,': 0.16; 'subject: \n ': 0.16; 'subject:import': 0.16; 'tempted': 0.16; 'cc:addr:python-list': 0.16; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'subject:use': 0.24; 'cc:2**0': 0.26; 'not.': 0.28; "i'm": 0.28; 'replaced': 0.29; 'cc:addr:python.org': 0.29; 'equivalent': 0.31; 'does': 0.32; "isn't": 0.33; 'header:User-Agent:1': 0.33; 'running': 0.34; 'someone': 0.34; 'however,': 0.35; 'sets': 0.35; 'subject:How': 0.35; 'two': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'replace': 0.38; 'received:209': 0.39; 'cannot': 0.39; 'back': 0.60; 'believe': 0.65; 'cause': 0.67; 'subject:you': 0.78; 'pain': 0.84; 'received:209.85.213.184': 0.84; 'received:mail- yx0-f184.google.com': 0.84; 'subject:want': 0.93
Received-SPF pass (google.com: domain of johnjsal@gmail.com designates 10.52.94.100 as permitted sender) client-ip=10.52.94.100;
Authentication-Results mr.google.com; spf=pass (google.com: domain of johnjsal@gmail.com designates 10.52.94.100 as permitted sender) smtp.mail=johnjsal@gmail.com
Newsgroups comp.lang.python
Date Fri, 2 Mar 2012 21:06:02 -0800 (PST)
In-Reply-To <mailman.359.1330742876.3037.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=76.30.237.113; posting-account=Wdz3OgoAAACumWTKfPjpOEJc3twpMp_1
References <29015333.101.1330739333318.JavaMail.geo-discussion-forums@vbbgt10> <mailman.359.1330742876.3037.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
MIME-Version 1.0
Subject Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"?
From John Salerno <johnjsal@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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>
Message-ID <mailman.361.1330751165.3037.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330751165 news.xs4all.nl 6860 [2001:888:2000:d::a6]:37354
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21161

Show key headers only | View raw


> I suppose the 'advantage' of this is that it will replace tk widgets 
> with equivalent ttk widgets, if they exist and have the same name. I 
> believe one has to program them differently, however, so the replacement 
> cannot be transparent and one mush know anyway what gets replaced and 
> what not.

Grr, sounds like a pain if I want to use the new widgets. Does this cause conflict with someone who isn't running 8.5, or will they still see the older widgets as normal?

I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a little annoying.

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


Thread

How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? John Salerno <johnjsal@gmail.com> - 2012-03-02 17:48 -0800
  Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? Terry Reedy <tjreedy@udel.edu> - 2012-03-02 21:47 -0500
    Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? Ben Finney <ben+python@benfinney.id.au> - 2012-03-03 14:34 +1100
    Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? John Salerno <johnjsal@gmail.com> - 2012-03-02 21:06 -0800
      Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? Rick Johnson <rantingrickjohnson@gmail.com> - 2012-03-04 17:39 -0800
        Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? Westley Martínez <anikom15@gmail.com> - 2012-03-04 18:04 -0800
        Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? John Salerno <johnjsal@gmail.com> - 2012-03-04 21:53 -0800
      Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? Kevin Walzer <kw@codebykevin.com> - 2012-03-04 20:58 -0500
    Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"? John Salerno <johnjsal@gmail.com> - 2012-03-02 21:06 -0800

csiph-web