Re: ? BUG - Tcl9.0b3 Linux - canvas bind

Liste des GroupesRevenir à cl tcl 
Sujet : Re: ? BUG - Tcl9.0b3 Linux - canvas bind
De : obermeier (at) *nospam* poSoft.de (Paul Obermeier)
Groupes : comp.lang.tcl
Date : 08. Aug 2024, 16:47:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v92pbu$30v4$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Am 08.08.2024 um 16:24 schrieb abu:
Please, can you run this 4-lines script on Linux with TclTk 9.0b3 ?
 Note that it runs as expected with TclTk 9.0b3 on Windows and MacOS, so
I suspect
a) my Linux build is wrong
b) it's a bug only for unix (Linux Ubuntu in my case)
 Any suggestion is appreciated.
Here's the script
  ## ---------------------------------------------------------------------
 # Test with TclTk 9.0b3
#   Windows: OK
#   Linux (Ubuntu): not working (OVAL doesn't change color, no message
is printed)
#   MacOS: OK
  pack [canvas .c -background yellow]
c create oval {20 20 200 200} -fill red  -activefill blue -tag OVAL
 c bind OVAL <Enter> { puts "Entering the OVAL"}
c bind OVAL <ButtonPress-1> { puts "Clicked inside the OVAL"}
 #  Expected behaviour:
#    when moving the cursor inside the OVAL
#      - it turns from red to blue
#      - a message is printed
#    when clicking the OVAL
#      - a message is printed
 # -------------------------------------------------------------
Works for me on Debian 12.6, SUSE 15.6 and Ubuntu 24.04.
Paul

Date Sujet#  Auteur
8 Aug 24 * ? BUG - Tcl9.0b3 Linux - canvas bind6abu
8 Aug 24 +* Re: ? BUG - Tcl9.0b3 Linux - canvas bind2Harald Oehlmann
9 Aug 24 i`- Re: ? BUG - Tcl9.0b3 Linux - canvas bind1Christian Gollwitzer
8 Aug 24 +- Re: ? BUG - Tcl9.0b3 Linux - canvas bind1Paul Obermeier
8 Aug 24 `* Re: ? BUG - Tcl9.0b3 Linux - canvas bind2greg
8 Aug 24  `- Re: ? BUG - Tcl9.0b3 Linux - canvas bind1abu

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal