I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
Ashok <[email protected]> posted:
I don't know one offhand but possible TkReplay might give you ideas (https://wiki.tcl-lang.org/page/TKReplay)?
It's somewhat dated but Tcl/Tk tend to be very compatible between
releases so perhaps a few tweaks might get it running.
If you do implement something with tkreplay or independently, the
community would be grateful if you publish it :-)
/Ashok
On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
It is so ancient that the ftp source download server doesn't exist anymore lol.
I don't know one offhand but possible TkReplay might give you ideas (https://wiki.tcl-lang.org/page/TKReplay)?
It's somewhat dated but Tcl/Tk tend to be very compatible between
releases so perhaps a few tweaks might get it running.
If you do implement something with tkreplay or independently, the
community would be grateful if you publish it :-)
/Ashok
On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
Ashok <[email protected]> posted:
I don't know one offhand but possible TkReplay might give you ideas
(https://wiki.tcl-lang.org/page/TKReplay)?
It's somewhat dated but Tcl/Tk tend to be very compatible between
releases so perhaps a few tweaks might get it running.
If you do implement something with tkreplay or independently, the
community would be grateful if you publish it :-)
/Ashok
On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
It is so ancient that the ftp source download server doesn't exist anymore lol.
Shaun Kulesa <[email protected]d> posted:
I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.
But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.
Is there a way to record all the previous executed events?
From the wiki, this may help
https://wiki.tcl-lang.org/page/playtkl%2C+testing+Tk+apps+and+playing+macros
Kind Regards
Jeff
Last year I purchased a used copy of Tcl/Tk Tools published in 1997! So happens the CD had a copy. Now uploaded to https://sourceforge.net/projects/magicsplat/files/tkreplay1.1.tar.gz/download
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 14:29:52 |
| Calls: | 12,101 |
| Calls today: | 1 |
| Files: | 15,004 |
| Messages: | 6,518,029 |