pygui consolidated menubar and menuaction code into one file, small updates to observer widgets to avoid using ifconfig

This commit is contained in:
Blake Harnden 2020-04-18 00:33:22 -07:00
parent c43afa4b40
commit 7da7ea5d62
6 changed files with 231 additions and 294 deletions

View file

@ -499,7 +499,6 @@ class Toolbar(ttk.Frame):
def click_two_node_button(self):
logging.debug("Click TWONODE button")
# def scale_button(cls, button, image_enum, scale):
def scale_button(self, button, image_enum):
image = icon(image_enum, int(TOOLBAR_SIZE * self.app.app_scale))
button.config(image=image)