Skip to content

Commit b6de1d5

Browse files
Merge branch 'main' into tkinter-tk-caret-appname
2 parents 7864c9b + 13c1225 commit b6de1d5

9 files changed

Lines changed: 1284 additions & 10 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

@@ -3323,8 +3324,9 @@ Base and mixin classes
33233324
Same as :meth:`Misc.grid_size`: return a ``(columns, rows)`` tuple giving
33243325
the size of the grid.
33253326
:meth:`size` is an alias of :meth:`!grid_size`,
3326-
except on the :class:`Listbox` widget,
3327-
which provides its own :meth:`!size` method.
3327+
except on :class:`Listbox` and
3328+
:class:`ttk.Treeview <tkinter.ttk.Treeview>`,
3329+
which provide their own :meth:`!size` method.
33283330

33293331
.. method:: propagate()
33303332
propagate(flag)
@@ -4286,6 +4288,14 @@ Widget classes
42864288
Typically associated with mouse motion events, to produce the effect of
42874289
dragging the entry at high speed through the window.
42884290

4291+
.. method:: validate()
4292+
4293+
Force an evaluation of the command given by the *validatecommand* option,
4294+
independently of the conditions specified by the *validate* option, and
4295+
return whether the value is considered valid.
4296+
4297+
.. versionadded:: next
4298+
42894299

42904300
.. class:: Frame(master=None, cnf={}, **kw)
42914301

@@ -5238,6 +5248,14 @@ Widget classes
52385248

52395249
.. versionadded:: 3.8
52405250

5251+
.. method:: validate()
5252+
5253+
Force an evaluation of the command given by the *validatecommand* option,
5254+
independently of the conditions specified by the *validate* option, and
5255+
return whether the value is considered valid.
5256+
5257+
.. versionadded:: next
5258+
52415259

52425260

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

0 commit comments

Comments
 (0)