Re: ttk::notebook mouse wheel event

Liste des GroupesRevenir à cl tcl 
Sujet : Re: ttk::notebook mouse wheel event
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tcl
Date : 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.

Date Sujet#  Auteur
29 Dec 24 * ttk::notebook mouse wheel event7alexandru
29 Dec 24 `* Re: ttk::notebook mouse wheel event6Rich
30 Dec 24  +- Re: ttk::notebook mouse wheel event1alexandru
30 Dec 24  +* Re: ttk::notebook mouse wheel event3nemethi
30 Dec 24  i+- Re: ttk::notebook mouse wheel event1nemethi
1 Jan 25  i`- Re: ttk::notebook mouse wheel event1alexandru
31 Dec 24  `- Re: ttk::notebook mouse wheel event1et99

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal