ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tktable-users
tktable-users
RE: [Tktable] changing default bindings
by Jeff Hobbs other posts by this author
Oct 17 2003 7:39AM messages near this date
[Tktable] changing default bindings | [Tktable] Re: Movie
>  How do you change the default bindings in TkTable? I'd like 
>  the active area to change with mouse movements, and the 
>  selection to be activated with a button press. This is 
>  typical GUI behavior. The current effect is that 
>  browsecommand is called when the active cell changes. This 
>  has undesirable effects when windows over the table are 
>  closed, causing the browsecommand to be called inadvertently.
>  
>  Anyway, I'm using tktable.py and I'm not sure how to change 
>  the original bindings. Thanks for your help.

As with any Tk widget, you would modify the global bindings.  Tkinter
does have functions for binding modification that I don't know offhand,
but you can also just call the Tcl functions through the Tkinter API to
make the mods.  You will find the default bindings in tkTable.tcl,
whereever that might be located in your install.

  Jeff Hobbs                     The Tcl Guy
  Senior Developer               http://www.ActiveState.com/
        Tcl Support and Productivity Solutions



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
Thread:
William Baxter
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved