|
From: Brian G. <bri...@ea...> - 2018-06-28 01:12:36
|
On Jun 26, 2018, at 2:14 PM, Francois Vogel (gmail temporary address) <fra...@gm...<mailto:fra...@gm...>> wrote: Le 26/06/2018 à 17:20, Brian Griffin a écrit : Only Y-axis scrolling is supported in Tk :( I believ this is not entirely correct. Try: package require Tk pack [text .t -wrap none] .t insert end [string repeat "abc " 50] # now focus in.t and try shift + mouse wheel --> x-axis scroll That's using the same wheel for both dimensions. What I should have said is that for mouse devices have a separate X-axis mechanism (tilt wheel or roller ball for example) there is no Windows mechanism to get these events in Tk currently that I am aware of. For Linux, button-6 and button-7 handle these events. -Brian |