]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Resolve reference warnings in faq/gui.rst (#108147)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Mon, 21 Aug 2023 07:37:52 +0000 (08:37 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 07:37:52 +0000 (07:37 +0000)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/faq/gui.rst
Doc/tools/.nitignore

index 0a372342862d2fde9d8b0de0a26a26c7f9d3ab85..cfa60feceb31b770b860620b5939e005cf2c53e9 100644 (file)
@@ -43,7 +43,7 @@ applications, the applications will not be truly stand-alone, as the application
 will still need the Tcl and Tk libraries.
 
 One solution is to ship the application with the Tcl and Tk libraries, and point
-to them at run-time using the :envvar:`TCL_LIBRARY` and :envvar:`TK_LIBRARY`
+to them at run-time using the :envvar:`!TCL_LIBRARY` and :envvar:`!TK_LIBRARY`
 environment variables.
 
 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?
 
 On platforms other than Windows, yes, and you don't even
 need threads!  But you'll have to restructure your I/O
-code a bit.  Tk has the equivalent of Xt's :c:func:`XtAddInput()` call, which allows you
+code a bit.  Tk has the equivalent of Xt's :c:func:`!XtAddInput` call, which allows you
 to register a callback function which will be called from the Tk mainloop when
 I/O is possible on a file descriptor.  See :ref:`tkinter-file-handlers`.
 
@@ -63,8 +63,9 @@ I/O is possible on a file descriptor.  See :ref:`tkinter-file-handlers`.
 I can't get key bindings to work in Tkinter: why?
 -------------------------------------------------
 
-An often-heard complaint is that event handlers bound to events with the
-:meth:`bind` method don't get handled even when the appropriate key is pressed.
+An often-heard complaint is that event handlers :ref:`bound <bindings-and-events>`
+to events with the :meth:`!bind` method
+don't get handled even when the appropriate key is pressed.
 
 The most common cause is that the widget to which the binding applies doesn't
 have "keyboard focus".  Check out the Tk documentation for the focus command.
index 9475e883ee5b546306b4594cdaf270395fc11190..1b43a2e4270c9c6b54449d11f5e8b722a82adc67 100644 (file)
@@ -24,7 +24,6 @@ Doc/c-api/typeobj.rst
 Doc/c-api/unicode.rst
 Doc/extending/extending.rst
 Doc/extending/newtypes.rst
-Doc/faq/gui.rst
 Doc/glossary.rst
 Doc/howto/descriptor.rst
 Doc/howto/enum.rst