Return actual font attributes
(self, option=None, displayof=None)
| 127 | return Font(self._tk, **self.actual()) |
| 128 | |
| 129 | def actual(self, option=None, displayof=None): |
| 130 | "Return actual font attributes" |
| 131 | args = () |
| 132 | if displayof: |
| 133 | args = ('-displayof', displayof) |
| 134 | if option: |
| 135 | args = args + ('-' + option, ) |
| 136 | return self._call("font", "actual", self.name, *args) |
| 137 | else: |
| 138 | return self._mkdict( |
| 139 | self._split(self._call("font", "actual", self.name, *args))) |
| 140 | |
| 141 | def cget(self, option): |
| 142 | "Get font attribute" |