| Deutsch English Français Italiano |
|
<qfq1bj95rbgdrlnth8qp03c22cbqrhkn4h@4ax.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Helmut Giese <hgiese@ratiosoft.com> Newsgroups: comp.lang.tcl Subject: Generate <Shift-Button> event on a canvas (on Windows) Date: Mon, 05 Aug 2024 17:27:31 +0200 Organization: ratiosoft Lines: 13 Message-ID: <qfq1bj95rbgdrlnth8qp03c22cbqrhkn4h@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Mon, 05 Aug 2024 17:27:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7a7a087ddb149b4ff3b77ebfffc2ff2a"; logging-data="876400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7NYi3Ti3d8tvKRRUPc/gt" Cancel-Lock: sha1:BaEKKaUAF2KdZF9u/3ww1qTVOWc= X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Bytes: 1616 Hello out there, I am writing tests (using tcltest) to avoid any regression during development but I hit something like a brick wall: 'event generate' appears not to work on items of a canvas. On regular widgets no problem: It can produce events like <Button-1>, <Shift-Button-1> , etc. With twapi on the other hand I can produce <Button-1> events everywhere: canvas, widgets - but no <Shift-Button-1>, so I'm stuck. So the question is: How to make 'event generate' work on canvas items or how to tweak twapi to also produce <Shift-Button> events. Any help will be greatly apppreciated Helmut PS: I am running Tcl 8.6.10 under Windows 10, 64 bit