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


Groups > comp.lang.python > #25297

Re: Tkinter.event.widget: handler gets name instead of widget.

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'bits': 0.07; 'finished,': 0.07; 'python': 0.09; '(same': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tcl/tk': 0.09; 'terry': 0.09; '_ssl': 0.16; 'bz2': 0.16; 'idea:': 0.16; 'idle.': 0.16; 'message- id:@dough.gmane.org': 0.16; 'modules).': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'random': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'separate': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'readline': 0.29; 'no,': 0.29; 'skip:_ 10': 0.29; 'install': 0.29; 'fri,': 0.30; 'code': 0.31; '+0200,': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'pm,': 0.35; 'next': 0.35; 'received:org': 0.36; 'but': 0.36; 'modules': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'easier': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'managers': 0.60; 'first': 0.61; 'upgrading': 0.62; 'more': 0.63; 'believe': 0.69; 'day': 0.73; 'clearer': 0.84; 'otten': 0.84; 'received:fios.verizon.net': 0.84; 'subject:gets': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Tkinter.event.widget: handler gets name instead of widget.
Date Fri, 13 Jul 2012 19:23:53 -0400
References <1341782353.2041.136.camel@hatchbox-one> <mailman.1933.1341813557.4697.python-list@python.org> <e903a18d-a348-4ba3-8b0c-2b51bca7dbd6@l32g2000yqc.googlegroups.com> <mailman.1984.1341914689.4697.python-list@python.org> <89816e26-fc20-4cdc-ba6c-f252231d43ba@f16g2000yqg.googlegroups.com> <1342119234.2313.42.camel@hatchbox-one> <jtoiil$j05$1@dough.gmane.org> <1342211099.2350.68.camel@hatchbox-one>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <1342211099.2350.68.camel@hatchbox-one>
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>
Newsgroups comp.lang.python
Message-ID <mailman.2108.1342221872.4697.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342221872 news.xs4all.nl 6840 [2001:888:2000:d::a6]:41251
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25297

Show key headers only | View raw


On 7/13/2012 4:24 PM, Frederic Rentsch wrote:
> On Fri, 2012-07-13 at 09:26 +0200, Peter Otten wrote:

>> Another random idea: run your code on a more recent python/tcl installation.

That might have been clearer as python + tcl/tk installation.

>     I next spent a day with an attempt to upgrade to Python 2.7.3,
> figuring that that might simultaneously take care of upgrading tcl.

No, two completely separate actions.

> ... build finished, but the necessary bits to build these modules were
> not found:
>
> _bsddb
> _curses
> _curses_panel
> _sqlite3
> _ssl
> _tkinter
> bsddb185
> bz2
> dbm
> gdbm
> readline
> sunaudiodev

I believe _tkinter is the only one of those you need to run idle.

You need tcl/tk installed/compiled first to compile python with 
_tkinter. Easier on *nix than windows. Many *nix systems come with 
tcl/tk or easily install it with their package managers (same with some 
of the other prerequisites for other modules).

-- 
Terry Jan Reedy


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


Thread

Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-09 01:58 -0400
  Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-09 10:49 -0700
    Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-09 15:45 -0400
    Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-09 22:47 +0200
    Re: Tkinter.event.widget: handler gets name instead of widget. Chris Angelico <rosuav@gmail.com> - 2012-07-10 08:23 +1000
    Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-10 12:03 +0200
      Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-10 15:11 -0700
        Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-10 18:06 -0700
          Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-11 09:59 +0200
        Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-12 20:53 +0200
          Re: Tkinter.event.widget: handler gets name instead of widget. rantingrickjohnson@gmail.com - 2012-07-14 20:10 -0700
            Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-16 12:32 +0200
          Re: Tkinter.event.widget: handler gets name instead of widget. rantingrickjohnson@gmail.com - 2012-07-14 20:10 -0700
        Re: Tkinter.event.widget: handler gets name instead of widget. Peter Otten <__peter__@web.de> - 2012-07-13 09:26 +0200
        Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-13 22:24 +0200
        Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-13 19:23 -0400
        Re: Tkinter.event.widget: handler gets name instead of widget. Peter Otten <__peter__@web.de> - 2012-07-14 09:47 +0200

csiph-web