What do you mean by feed?
The keys you list (ctrl, up, down) are either modifiers or else have special bindings (eg movement). The Control modifier key when applied to regular keys has special bindings (like movement or some other function, like Copy or Paste). What exactly are you trying to test?
There is a file in the Tk library (on my Ubuntu system is is in /usr/share/tcltk/tk8.6/) named text.tcl which contains all of the default bindings for the text widget, along with the helper functions that they use.
At Tue, 31 May 2022 16:31:55 +0200 Helmut Giese <
[email protected]> wrote:
Hello out there,
I am writing a test program for a text widget and came across the
problem to test its behaviour wrt special keys (ctrl, up, down, etc.).
I have no idea how to feed those into my widget.
Any help or advice will be greatly appreciated.
Best regards
Helmut
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
[email protected] -- Webhosting Services
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)