updates to config services dialogs in coretk, initial working state for running config services from the coretk gui
This commit is contained in:
parent
83e7853821
commit
da107cc1d9
9 changed files with 111 additions and 209 deletions
|
@ -184,6 +184,11 @@ class ConfigFrame(ttk.Notebook):
|
|||
|
||||
return {x: self.config[x].value for x in self.config}
|
||||
|
||||
def set_values(self, config: Dict[str, common_pb2.ConfigOption]) -> None:
|
||||
for name, option in config.items():
|
||||
value = self.values[name]
|
||||
value.set(option.value)
|
||||
|
||||
|
||||
class ListboxScroll(ttk.Frame):
|
||||
def __init__(self, master: tk.Widget = None, **kw):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue