Allow adjusting the font size of tk popups
This commit is contained in:
parent
d03e6307f5
commit
37b5646d65
8 changed files with 28 additions and 20 deletions
|
@ -276,6 +276,15 @@ class Config(util.store.Store):
|
|||
def interval(self, default=1):
|
||||
return util.format.seconds(self.get("interval", default))
|
||||
|
||||
"""Returns the global popup menu font size
|
||||
|
||||
:return: popup menu font size
|
||||
:rtype: int
|
||||
"""
|
||||
|
||||
def popup_font_size(self, default=12):
|
||||
return util.format.asint(self.get("popup_font_size", default))
|
||||
|
||||
"""Returns whether debug mode is enabled
|
||||
|
||||
:return: True if debug is enabled, False otherwise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue