8000 Resolve reference warnings in faq/gui.rst · python/cpython@8b46599 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b46599

Browse files
committed
Resolve reference warnings in faq/gui.rst
1 parent c31c61c commit 8b46599

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/faq/gui.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ applications, the applications will not be truly stand-alone, as the application
4343
will still need the Tcl and Tk libraries.
4444

45 8000 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`
4747
environment variables.
4848

4949
Various third-party freeze libraries such as py2exe and cx_Freeze have
@@ -55,7 +55,7 @@ Can I have Tk events handled while waiting for I/O?
5555

5656
On platforms other than Windows, yes, and you don't even
5757
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
5959
to register a callback function which will be called from the Tk mainloop when
6060
I/O is possible on a file descriptor. See :ref:`tkinter-file-handlers`.
6161

@@ -64,7 +64,7 @@ I can't get key bindings to work in Tkinter: why?
6464
-------------------------------------------------
6565

6666
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.
67+
:meth:`!bind` method don't get handled even when the appropriate key is pressed.
6868

6969
The most common cause is that the widget to which the binding applies doesn't
7070
have "keyboard focus". Check out the Tk documentation for the focus command.

0 commit comments

Comments
 (0)
0