For Programmers: Free Programming Magazines  


Home > Archive > Tcl > January 2008 > TkTable Mousewheel Binding for Vertical Scrolling









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TkTable Mousewheel Binding for Vertical Scrolling
bur.rosario@gmail.com

2008-01-26, 8:23 am

Hi!

Does anyone know how to bind the MouseWheel for TkTable Scrolling.

The mousewheel binding would be very convenient because I have a large
number of rows.

Please reply. Thank you very much!

Domo Arigato Gozaimasu! m(-^^_)m
Koen Danckaert

2008-01-28, 9:02 am

On 26 jan, 14:40, bur.rosa...@gmail.com wrote:
> Does anyone know how to bind the MouseWheel for TkTable Scrolling.
>
> The mousewheel binding would be very convenient because I have a large
> number of rows.


You could use the general mousewheel support code of TIP 171:
http://www.tcl.tk/cgi-bin/tct/tip/171

--Koen
Jeff Hobbs

2008-01-28, 7:43 pm

On Jan 26, 5:40 am, bur.rosa...@gmail.com wrote:
> Hi!
>
> Does anyone know how to bind the MouseWheel for TkTable Scrolling.
>
> The mousewheel binding would be very convenient because I have a large
> number of rows.
>
> Please reply. Thank you very much!
>
> Domo Arigato Gozaimasu! m(-^^_)m


The standard Mousewheel event bindings would work, either from TIP 171
or specific to the Table class - just adapt (copy) from the Text or
Listbox widget class.

Jeff
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com