Skip to content

Commit b6710b4

Browse files
Merge branch 'main' into tkinter-canvas-rotate-rchars
2 parents eb31d61 + 13c1225 commit b6710b4

9 files changed

Lines changed: 1284 additions & 11 deletions

File tree

Doc/library/tkinter.rst

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,8 +1391,9 @@ Base and mixin classes
13911391
``(columns, rows)`` tuple.
13921392

13931393
:meth:`size` is an alias of :meth:`!grid_size`,
1394-
except on the :class:`Listbox` widget,
1395-
which provides its own :meth:`!size` method.
1394+
except on :class:`Listbox` and
1395+
:class:`ttk.Treeview <tkinter.ttk.Treeview>`,
1396+
which provide their own :meth:`!size` method.
13961397

13971398
.. method:: grid_slaves(row=None, column=None)
13981399

@@ -3291,8 +3292,9 @@ Base and mixin classes
32913292
Same as :meth:`Misc.grid_size`: return a ``(columns, rows)`` tuple giving
32923293
the size of the grid.
32933294
:meth:`size` is an alias of :meth:`!grid_size`,
3294-
except on the :class:`Listbox` widget,
3295-
which provides its own :meth:`!size` method.
3295+
except on :class:`Listbox` and
3296+
:class:`ttk.Treeview <tkinter.ttk.Treeview>`,
3297+
which provide their own :meth:`!size` method.
32963298

32973299
.. method:: propagate()
32983300
propagate(flag)
@@ -4274,6 +4276,14 @@ Widget classes
42744276
Typically associated with mouse motion events, to produce the effect of
42754277
dragging the entry at high speed through the window.
42764278

4279+
.. method:: validate()
4280+
4281+
Force an evaluation of the command given by the *validatecommand* option,
4282+
independently of the conditions specified by the *validate* option, and
4283+
return whether the value is considered valid.
4284+
4285+
.. versionadded:: next
4286+
42774287

42784288
.. class:: Frame(master=None, cnf={}, **kw)
42794289

@@ -5226,6 +5236,14 @@ Widget classes
52265236

52275237
.. versionadded:: 3.8
52285238

5239+
.. method:: validate()
5240+
5241+
Force an evaluation of the command given by the *validatecommand* option,
5242+
independently of the conditions specified by the *validate* option, and
5243+
return whether the value is considered valid.
5244+
5245+
.. versionadded:: next
5246+
52295247

52305248

52315249
.. class:: Text(master=None, cnf={}, **kw)

0 commit comments

Comments
 (0)