File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,16 @@ The different font weights and slants are:
4747
4848 .. method :: actual(option=None, displayof=None)
4949
50- Return the attributes of the font.
50+ Returns information about the actual attributes that are obtained when
51+ the font is used on *displayof *; the actual attributes obtained may
52+ differ from those given (and retrieved by :meth: `Font.cget `) due to
53+ platform-dependent limitations, such as the availability of font
54+ families and pointsizes. If *displayof * is omitted, it defaults to the
55+ main window.
56+
57+ If *option * is specified, value of just that attribute is returned; if
58+ it is omitted, the return value is a dictionary of all the attributes
59+ and their values. See above for a list of the possible attributes.
5160
5261 .. method :: cget(option)
5362
@@ -93,4 +102,4 @@ The different font weights and slants are:
93102
94103.. function :: nametofont(name)
95104
96- Return a :class: `Font ` representation of a tk named font.
105+ Return a :class: `Font ` representation of a tk named font.
You can’t perform that action at this time.
0 commit comments