Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'importing': 0.05; 'debug': 0.07; 'tkinter': 0.07; 'work!': 0.07; 'latter': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; "where's": 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'properly': 0.19; 'import': 0.22; 'replace': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'piece': 0.31; 'sep': 0.31; 'skip:_ 10': 0.34; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'simply': 0.61; 'hear': 0.63; 'pick': 0.64; 'details,': 0.68; 'fact,': 0.69; 'rick': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=z35IfS8gf8+XYE19+mbfxhUQ8OW/ktN1pVtkabo1pIE=; b=xhUM4a8U2A8xn/TlmoagyP85AbXiiqIdiY7L+Io5Kxmkn5Ef5ItsEC14VNf3ERLL+t cYptUPHZ3+oyGPLjQ41zYl6MP5lRVEHaeoCwYlnFmX1NocbUP7I4wKGTjrLfab6DSPaH D+UxJ2LSaijIAMoT5gU63XtB4uPveYQmyek+y9KOapoGMZXxs9YEuwyQPNRdUzCk/LNI ZquiGNKVBpQLnE2eS86UcDESxYb3/To48DnARXaxvthNXFogHYQuTe8cgtXFj8pVLOrB fJBVBXdtCL0LJGlbBJ6quVt7z+j3MUP0o5jaL8pxvDcBS3/5PPY7aKv9H8WNJ3yZrAcE DUIw== MIME-Version: 1.0 X-Received: by 10.59.11.69 with SMTP id eg5mr14380253ved.17.1379428558241; Tue, 17 Sep 2013 07:35:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Sep 2013 00:35:58 +1000 Subject: Re: Weird ttk behaviour From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379428566 news.xs4all.nl 15999 [2001:888:2000:d::a6]:34138 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54305 On Wed, Sep 18, 2013 at 12:25 AM, Rotwang wrote: > In fact, if I replace tkderp with this: > > > # begin tkderp.py > > import tkinter as tk > > _root = tk.Tk() > _root.withdraw() > > # end tkderp.py > > > then simply importing tkderp before tkderp2 is enough to make the latter > work properly Nice piece of detective work! Alas, I don't know tkinter well enough to help with the details, but this is exactly what I'd like to hear if I were trying to pick this up and debug it :) Tkinter experts, anywhere? Where's Ranting Rick when you need him... ChrisA