diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 10:17:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 10:17:13 (GMT) |
commit | fbc1c268031a9c8fad65f49c8381b6145bd66ffc (patch) | |
tree | 61f0d5554573668c553dd9f39a50d74c12dd50bb /Doc/library/tkinter.ttk.rst | |
parent | 4b79518f83fa6c4dadd69326276032d74c8e3df7 (diff) | |
download | cpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.zip cpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.tar.gz cpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.tar.bz2 |
Issue #19795: Improved markup of True/False constants.
Diffstat (limited to 'Doc/library/tkinter.ttk.rst')
-rw-r--r-- | Doc/library/tkinter.ttk.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/tkinter.ttk.rst b/Doc/library/tkinter.ttk.rst index 9860c86..6f8bf1c 100644 --- a/Doc/library/tkinter.ttk.rst +++ b/Doc/library/tkinter.ttk.rst @@ -272,8 +272,8 @@ methods :meth:`tkinter.Widget.cget` and :meth:`tkinter.Widget.configure`. .. method:: instate(statespec, callback=None, *args, **kw) - Test the widget's state. If a callback is not specified, returns True - if the widget state matches *statespec* and False otherwise. If callback + Test the widget's state. If a callback is not specified, returns ``True`` + if the widget state matches *statespec* and ``False`` otherwise. If callback is specified then it is called with args if widget state matches *statespec*. @@ -938,7 +938,7 @@ ttk.Treeview .. method:: exists(item) - Returns True if the specified *item* is present in the tree. + Returns ``True`` if the specified *item* is present in the tree. .. method:: focus(item=None) @@ -1084,7 +1084,7 @@ ttk.Treeview Ensure that *item* is visible. - Sets all of *item*'s ancestors open option to True, and scrolls the + Sets all of *item*'s ancestors open option to ``True``, and scrolls the widget if necessary so that *item* is within the visible portion of the tree. |