| Deutsch English Français Italiano |
|
<adf2ce7be1b653d17f639b45e27c5c0e@www.rocksolidbbs.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: aldo.w.buratti@gmail.com (abu)
Newsgroups: comp.lang.tcl
Subject: =?UTF-8?B?PyBCVUcgLSBUY2w5LjBiMyBMaW51eCAtIGNhbnZhcyBiaW5k?=
Date: Thu, 8 Aug 2024 14:24:25 +0000
Organization: RetroBBS
Message-ID: <adf2ce7be1b653d17f639b45e27c5c0e@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1883487"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PBXC2HFTMYJkDFs3+h7gIz1+nuyKDDqzzdmkj5cKg/0";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$DAt6DobducAbG37T.DT6uuI4QBcJvAien8EFHWT3K1VNApmmkIOB.
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 03eebb131362ce2f1c43033a15c71f269c1889b8
Bytes: 1893
Lines: 33
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
# -------------------------------------------------------------