8000 [3.12] Resolve reference warnings in faq/gui.rst (GH-108147) (#108193) · python/cpython@331b026 · GitHub
[go: up one dir, main page]

Skip to content

Commit 331b026

Browse files
miss-islingtonAA-Turnerhugovk
authored
[3.12] Resolve reference warnings in faq/gui.rst (GH-108147) (#108193)
* Resolve reference warnings in faq/gui.rst (GH-108147) (cherry picked from commit 8f3d09b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Resolve reference warnings in faq/gui.rst --------- Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent e0f6080 commit 331b026

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Doc/faq/gui.rst

Lines changed: 6 additions & 5 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

4545
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
To get truly stand-alone applications, the Tcl scripts that form the library
@@ -52,7 +52,7 @@ SAM (stand-alone modules), which is part of the Tix distribution
5252
(https://tix.sourceforge.net/).
5353

5454
Build Tix with SAM enabled, perform the appropriate call to
55-
:c:func:`Tclsam_init`, etc. inside Python's
55+
:c:func:`!Tclsam_init`, etc. inside Python's
5656
:file:`Modules/tkappinit.c`, and link with libtclsam and libtksam (you
5757
might include the Tix libraries as well).
5858

@@ -62,16 +62,17 @@ Can I have Tk events handled while waiting for I/O?
6262

6363
On platforms other than Windows, yes, and you don't even
6464
need threads! But you'll have to restructure your I/O
65-
code a bit. Tk has the equivalent of Xt's :c:func:`XtAddInput()` call, which allows you
65+
code a bit. Tk has the equivalent of Xt's :c:func:`!XtAddInput` call, which allows you
6666
to register a callback function which will be called from the Tk mainloop when
6767
I/O is possible on a file descriptor. See :ref:`tkinter-file-handlers`.
6868

6969

7070
I can't get key bindings to work in Tkinter: why?
7171
-------------------------------------------------
7272

73-
An often-heard complaint is that event handlers bound to events with the
74-
:meth:`bind` method don't get handled even when the appropriate key is pressed.
73+
An often-heard complaint is that event handlers :ref:`bound <bindings-and-events>`
74+
to events with the :meth:`!bind` method
75+
don't get handled even when the appropriate key is pressed.
7576

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

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Doc/c-api/type.rst
2323
Doc/c-api/typeobj.rst
2424
Doc/extending/extending.rst
2525
Doc/extending/newtypes.rst
26-
Doc/faq/gui.rst
2726
Doc/glossary.rst
2827
Doc/howto/descriptor.rst
2928
Doc/howto/enum.rst

0 commit comments

Comments
 (0)
0