@@ -43,7 +43,7 @@ applications, the applications will not be truly stand-alone, as the application
43
43
will still need the Tcl and Tk libraries.
44
44
45
45
One solution is to ship the application with the Tcl and Tk libraries, and point
46
- to them at run-time using the :envvar: `TCL_LIBRARY ` and :envvar: `TK_LIBRARY `
46
+ to them at run-time using the :envvar: `! TCL_LIBRARY ` and :envvar: `! TK_LIBRARY `
47
47
environment variables.
48
48
49
49
Various third-party freeze libraries such as py2exe and cx_Freeze have
@@ -55,16 +55,17 @@ Can I have Tk events handled while waiting for I/O?
55
55
56
56
On platforms other than Windows, yes, and you don't even
57
57
need threads! But you'll have to restructure your I/O
58
- code a bit. Tk has the equivalent of Xt's :c:func: `XtAddInput() ` call, which allows you
58
+ code a bit. Tk has the equivalent of Xt's :c:func: `! XtAddInput ` call, which allows you
59
59
to register a callback function which will be called from the Tk mainloop when
60
60
I/O is possible on a file descriptor. See :ref: `tkinter-file-handlers `.
61
61
62
62
63
63
I can't get key bindings to work in Tkinter: why?
64
64
-------------------------------------------------
65
65
66
- An often-heard complaint is that event handlers bound to events with the
67
- :meth: `bind ` method don't get handled even when the appropriate key is pressed.
66
+ An often-heard complaint is that event handlers :ref: `bound <bindings-and-events >`
67
+ to events with the :meth: `!bind ` method
68
+ don't get handled even when the appropriate key is pressed.
68
69
69
70
The most common cause is that the widget to which the binding applies doesn't
70
71
have "keyboard focus". Check out the Tk documentation for the focus command.
0 commit comments