Sujet : Re: ttk::notebook mouse wheel event
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tclDate : 29. Dec 2024, 17:25:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vkrt6a$12h2m$1@dont-email.me>
References : 1
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
alexandru <
alexandru.dadalau@meshparts.de> wrote:
I searched my code for a reason why the ttk::notebook tabs are
changed upon mose wheel events.
Does anywone know how to deactivate this behavior?
No sure if there is another module causing this.
A basic ttk:notebook does not appear to bind to mouse wheel events in
any way:
$ rlwrap wish
% ttk::notebook .n
.n
% winfo class .n
TNotebook
% bind TNotebook
<Destroy> <Control-Key-ISO_Left_Tab> <Control-Shift-Key-Tab>
<Control-Key-Tab> <Key-Left> <Key-Right> <Button-1>
Therefore this behavior appears to be arising from some other module
you are using.