@@ -146,6 +146,9 @@ The modules that provide Tk support include:
146146:mod: `tkinter.font `
147147 Utilities to help work with fonts.
148148
149+ :mod: `tkinter.fontchooser `
150+ Dialog to let the user choose a font.
151+
149152:mod: `tkinter.messagebox `
150153 Access to standard Tk dialog boxes.
151154
@@ -155,6 +158,9 @@ The modules that provide Tk support include:
155158:mod: `tkinter.simpledialog `
156159 Basic dialogs and convenience functions.
157160
161+ :mod: `tkinter.systray `
162+ System tray icon and desktop notifications.
163+
158164:mod: `tkinter.ttk `
159165 Themed widget set introduced in Tk 8.5, providing modern alternatives
160166 for many of the classic widgets in the main :mod: `!tkinter ` module.
@@ -539,11 +545,8 @@ arguments, or by calling the :meth:`~Misc.keys` method on that widget.
539545The return value of these calls is a dictionary whose key is the name of the
540546option as a string (for example, ``'relief' ``) and whose values are 5-tuples.
541547
542- Some options, like ``bg `` are synonyms for common options with long names
543- (``bg `` is shorthand for "background"). Passing the ``config() `` method the name
544- of a shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple passed
545- back will contain the name of the synonym and the "real" option (such as
546- ``('bg', 'background') ``).
548+ Some options, like ``bg ``, are synonyms for common options with long names
549+ (``bg `` is shorthand for "background").
547550
548551+-------+---------------------------------+--------------+
549552| Index | Meaning | Example |
@@ -2353,8 +2356,8 @@ Base and mixin classes
23532356 If all four arguments are given, the window manager keeps the ratio
23542357 between ``minNumer/minDenom `` and ``maxNumer/maxDenom ``; passing empty
23552358 strings removes any existing restriction.
2356- With no arguments, return a tuple of the four current values, or an empty
2357- string if no aspect restriction is in effect.
2359+ With no arguments, return a tuple of the four current values, or `` None ``
2360+ if no aspect restriction is in effect.
23582361 :meth: `wm_aspect ` is an alias of :meth: `!aspect `.
23592362
23602363 .. method :: wm_attributes(*args, return_python_dict=False, **kwargs)
@@ -2579,8 +2582,8 @@ Base and mixin classes
25792582 window's internally requested size, and *widthInc * and *heightInc * are
25802583 the pixel sizes of a horizontal and vertical grid unit.
25812584 Empty strings turn off gridded management.
2582- With no arguments, return a tuple of the four current values, or an empty
2583- string if the window is not gridded.
2585+ With no arguments, return a tuple of the four current values, or `` None ``
2586+ if the window is not gridded.
25842587 :meth: `wm_grid ` is an alias of :meth: `!grid `.
25852588
25862589 Not to be confused with the grid geometry manager :meth: `Grid.grid `.
@@ -2693,8 +2696,8 @@ Base and mixin classes
26932696 Set or query a hint to the window manager about where the window's icon
26942697 should be positioned.
26952698 Empty strings cancel an existing hint.
2696- With no arguments, return a tuple of the two current values, or an empty
2697- string if no hint is in effect.
2699+ With no arguments, return a tuple of the two current values, or `` None ``
2700+ if no hint is in effect.
26982701 :meth: `wm_iconposition ` is an alias of :meth: `!iconposition `.
26992702
27002703 .. method :: wm_iconwindow(pathName=None)
@@ -2763,7 +2766,8 @@ Base and mixin classes
27632766 When this flag is set, the window is ignored by the window manager: it is
27642767 not reparented into a decorative frame and the user cannot manipulate it
27652768 through the usual window manager controls.
2766- With no argument, return a boolean indicating whether the flag is set.
2769+ With no argument, return a boolean indicating whether the flag is set,
2770+ or ``None `` if it has not been set.
27672771 The flag is reliably honored only when the window is first mapped or
27682772 remapped from the withdrawn state.
27692773 :meth: `wm_overrideredirect ` is an alias of :meth: `!overrideredirect `.
@@ -3555,6 +3559,13 @@ Widget classes
35553559 A newly created item is placed at the top of the list; the order can be
35563560 changed with :meth: `tag_raise ` and :meth: `tag_lower `.
35573561
3562+ .. method :: tk_print()
3563+
3564+ Print the contents of the canvas using the native print dialog.
3565+ Requires Tk 8.7/9.0 or newer.
3566+
3567+ .. versionadded :: next
3568+
35583569 .. method :: create_arc(*args, **kw)
35593570 create_bitmap(*args, **kw)
35603571 create_image(*args, **kw)
@@ -4925,13 +4936,13 @@ Widget classes
49254936 containing *child *.
49264937 *option * may be any value allowed by :meth: `paneconfigure `.
49274938
4928- .. method :: paneconfig(tagOrId , cnf=None, **kw)
4939+ .. method :: paneconfig(child , cnf=None, **kw)
49294940 :no-typesetting:
49304941
4931- .. method :: paneconfigure(tagOrId , cnf=None, **kw)
4942+ .. method :: paneconfigure(child , cnf=None, **kw)
49324943
49334944 Query or modify the management options of the pane containing the widget
4934- *tagOrId *.
4945+ *child *.
49354946 With no options, it returns a dictionary describing all of the available
49364947 options for the pane; given a single option name as a string, it returns
49374948 a description of that one option; otherwise it sets the given options.
@@ -4946,6 +4957,10 @@ Widget classes
49464957 ``'always' ``, ``'first' ``, ``'last' ``, ``'middle' `` or ``'never' ``).
49474958 :meth: `paneconfig ` is an alias of :meth: `!paneconfigure `.
49484959
4960+ .. deprecated-removed :: next 3.18
4961+ The first parameter was renamed from *tagOrId * to *child *.
4962+ The old name is still accepted as a keyword argument.
4963+
49494964 .. method :: identify(x, y)
49504965
49514966 Identify the panedwindow component underneath the point given by *x * and
@@ -5366,6 +5381,13 @@ Widget classes
53665381 to its base; several modifiers may be combined and are applied from left to
53675382 right, for example ``'insert wordstart - 1 c' ``.
53685383
5384+ .. method :: tk_print()
5385+
5386+ Print the contents of the text widget using the native print dialog.
5387+ Requires Tk 8.7/9.0 or newer.
5388+
5389+ .. versionadded :: next
5390+
53695391 .. method :: insert(index, chars, *args)
53705392
53715393 Insert the string *chars * just before the character at *index * (if
0 commit comments