Re: bind with class inhibits -command option
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Tue, 27 May 2008 08:38:28 -0500
Alexandre Ferrieux wrote:
On May 26, 8:41 pm, moi <m...@xxxxxxx> wrote:What is it you are trying to accomplish?Just want to change buttons default behaviour and keep -command option
active. I'll, so, put this line in my callback scripts.
I think it would be much better to use the "+" syntax in front of your
callback:
bind Button <Enter> {+whatever you want}
as it is the documented, idiomatic form of incremental override in Tk.
Or better yet, use bindtags.
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: bind with class inhibits -command option
- From: Alexandre Ferrieux
- Re: bind with class inhibits -command option
- References:
- bind with class inhibits -command option
- From: david cobac
- Re: bind with class inhibits -command option
- From: Bryan Oakley
- Re: bind with class inhibits -command option
- From: moi
- Re: bind with class inhibits -command option
- From: Alexandre Ferrieux
- bind with class inhibits -command option
- Prev by Date: starpacks under regular Tcl interpreter
- Next by Date: Re: starpacks under regular Tcl interpreter
- Previous by thread: Re: bind with class inhibits -command option
- Next by thread: Re: bind with class inhibits -command option
- Index(es):
Relevant Pages
|