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


Groups > comp.lang.python > #54305

Re: Weird ttk behaviour

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 <rosuav@gmail.com>
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 <l19op8$dse$1@dont-email.me>
References <l17bj9$1qs$1@dont-email.me> <mailman.39.1379370869.18130.python-list@python.org> <l19ebk$g94$1@dont-email.me> <mailman.59.1379417584.18130.python-list@python.org> <l19op8$dse$1@dont-email.me>
Date Wed, 18 Sep 2013 00:35:58 +1000
Subject Re: Weird ttk behaviour
From Chris Angelico <rosuav@gmail.com>
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 <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.75.1379428566.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Sep 18, 2013 at 12:25 AM, Rotwang <sg552@hotmail.co.uk> 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

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


Thread

Weird ttk behaviour Rotwang <sg552@hotmail.co.uk> - 2013-09-16 17:28 +0100
  Re: Weird ttk behaviour Serhiy Storchaka <storchaka@gmail.com> - 2013-09-16 21:43 +0300
    Re: Weird ttk behaviour Rotwang <sg552@hotmail.co.uk> - 2013-09-17 12:15 +0100
  Re: Weird ttk behaviour Chris Angelico <rosuav@gmail.com> - 2013-09-17 08:34 +1000
    Re: Weird ttk behaviour Rotwang <sg552@hotmail.co.uk> - 2013-09-17 12:27 +0100
      Re: Weird ttk behaviour Chris Angelico <rosuav@gmail.com> - 2013-09-17 21:32 +1000
        Re: Weird ttk behaviour Rotwang <sg552@hotmail.co.uk> - 2013-09-17 15:25 +0100
          Re: Weird ttk behaviour Chris Angelico <rosuav@gmail.com> - 2013-09-18 00:35 +1000
            Re: Weird ttk behaviour Rotwang <sg552@hotmail.co.uk> - 2013-09-17 17:11 +0100
              Re: Weird ttk behaviour Chris Angelico <rosuav@gmail.com> - 2013-09-18 02:20 +1000

csiph-web