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