navigation_menu added, toggles the nav frame.

may be configured through app.toml
This commit is contained in:
2023-06-29 15:51:17 +01:00
parent 0a19e28370
commit 2ec1c74b7d
2 changed files with 33 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ class Navigation(ttk.Frame):
self.parent = parent
self.logger = logger.getChild(self.__class__.__name__)
self.grid(row=0, column=3, padx=(0, 2), pady=(5, 5), sticky=(tk.W, tk.E))
if not _configuration.navigation_show:
self.grid_remove()
self.styletable = self.parent.styletable
self.builder = builders.NavigationFrameBuilder(self)