@@ -541,11 +541,8 @@ arguments, or by calling the :meth:`~Misc.keys` method on that widget.
541541The return value of these calls is a dictionary whose key is the name of the
542542option as a string (for example, ``'relief' ``) and whose values are 5-tuples.
543543
544- Some options, like ``bg `` are synonyms for common options with long names
545- (``bg `` is shorthand for "background"). Passing the ``config() `` method the name
546- of a shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple passed
547- back will contain the name of the synonym and the "real" option (such as
548- ``('bg', 'background') ``).
544+ Some options, like ``bg ``, are synonyms for common options with long names
545+ (``bg `` is shorthand for "background").
549546
550547+-------+---------------------------------+--------------+
551548| Index | Meaning | Example |
@@ -2254,8 +2251,8 @@ Base and mixin classes
22542251 If all four arguments are given, the window manager keeps the ratio
22552252 between ``minNumer/minDenom `` and ``maxNumer/maxDenom ``; passing empty
22562253 strings removes any existing restriction.
2257- With no arguments, return a tuple of the four current values, or an empty
2258- string if no aspect restriction is in effect.
2254+ With no arguments, return a tuple of the four current values, or `` None ``
2255+ if no aspect restriction is in effect.
22592256 :meth: `wm_aspect ` is an alias of :meth: `!aspect `.
22602257
22612258 .. method :: wm_attributes(*args, return_python_dict=False, **kwargs)
@@ -2480,8 +2477,8 @@ Base and mixin classes
24802477 window's internally requested size, and *widthInc * and *heightInc * are
24812478 the pixel sizes of a horizontal and vertical grid unit.
24822479 Empty strings turn off gridded management.
2483- With no arguments, return a tuple of the four current values, or an empty
2484- string if the window is not gridded.
2480+ With no arguments, return a tuple of the four current values, or `` None ``
2481+ if the window is not gridded.
24852482 :meth: `wm_grid ` is an alias of :meth: `!grid `.
24862483
24872484 Not to be confused with the grid geometry manager :meth: `Grid.grid `.
@@ -2576,8 +2573,8 @@ Base and mixin classes
25762573 Set or query a hint to the window manager about where the window's icon
25772574 should be positioned.
25782575 Empty strings cancel an existing hint.
2579- With no arguments, return a tuple of the two current values, or an empty
2580- string if no hint is in effect.
2576+ With no arguments, return a tuple of the two current values, or `` None ``
2577+ if no hint is in effect.
25812578 :meth: `wm_iconposition ` is an alias of :meth: `!iconposition `.
25822579
25832580 .. method :: wm_iconwindow(pathName=None)
@@ -2646,7 +2643,8 @@ Base and mixin classes
26462643 When this flag is set, the window is ignored by the window manager: it is
26472644 not reparented into a decorative frame and the user cannot manipulate it
26482645 through the usual window manager controls.
2649- With no argument, return a boolean indicating whether the flag is set.
2646+ With no argument, return a boolean indicating whether the flag is set,
2647+ or ``None `` if it has not been set.
26502648 The flag is reliably honored only when the window is first mapped or
26512649 remapped from the withdrawn state.
26522650 :meth: `wm_overrideredirect ` is an alias of :meth: `!overrideredirect `.
0 commit comments