File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ class ToolBase:
99
99
"""
100
100
Icon filename.
101
101
102
- ``str | None``: Filename of the Toolbar icon; either absolute, or
103
- relative to the directory containing the Python source file where the
104
- ``Tool.image``class attribute is defined (in the latter case, this cannot
105
- be defined as an instance attribute). In either case, the extension is
106
- optional; leaving it off lets individual backends select the icon format
107
- they prefer. If None, the *name* is used as a label in the toolbar button.
102
+ ``str | None``: Filename of the Toolbar icon; either absolute, or relative to the
103
+ directory containing the Python source file where the ``Tool.image`` class attribute
104
+ is defined (in the latter case, this cannot be defined as an instance attribute).
105
+ In either case, the extension is optional; leaving it off lets individual backends
106
+ select the icon format they prefer. If None, the *name* is used as a label in the
107
+ toolbar button.
108
108
"""
109
109
110
110
def __init__ (self , toolmanager , name ):
You can’t perform that action at this time.
0 commit comments