Eckhard Lehmann
2008-01-02 16:48:09 UTC
Hi,
using ActiveTcl 8.5 on OS-X Leopard x86, I can not scroll upwards using
the mouse wheel. To reproduce, please try:
package re Tk
ttk::treeview .tv
ttk::scrollbar .sb -command ".tv yview" -orient vert
.tv configure -yscrollcommand ".sb set"
pack .tv .sb -side left -fill y
for {set i 0} {$i < 100} {incr i} {
.tv insert "" $i -text "node $i"
}
Then click inside the treeview and move the mouse wheel... normally (on
Windows, Linux) the treeview is scrolled up and down, but my experience
is that only the scrolling down works. This is only for ttk::treeview
(as far as I see... text works) and for both, ttk::scrollbar *and*
tk::scrollbar. So I suspect the troublemaker is ttk::treeview.
Is it just me or do others have this problem too? Is it a bug that needs
to be filed or is it known already?
TIA
Eckhard
using ActiveTcl 8.5 on OS-X Leopard x86, I can not scroll upwards using
the mouse wheel. To reproduce, please try:
package re Tk
ttk::treeview .tv
ttk::scrollbar .sb -command ".tv yview" -orient vert
.tv configure -yscrollcommand ".sb set"
pack .tv .sb -side left -fill y
for {set i 0} {$i < 100} {incr i} {
.tv insert "" $i -text "node $i"
}
Then click inside the treeview and move the mouse wheel... normally (on
Windows, Linux) the treeview is scrolled up and down, but my experience
is that only the scrolling down works. This is only for ttk::treeview
(as far as I see... text works) and for both, ttk::scrollbar *and*
tk::scrollbar. So I suspect the troublemaker is ttk::treeview.
Is it just me or do others have this problem too? Is it a bug that needs
to be filed or is it known already?
TIA
Eckhard