58 |
def SetupUI(self): |
def SetupUI(self): |
59 |
self.root.resizable(NO, NO) |
self.root.resizable(NO, NO) |
60 |
|
|
61 |
frame = Frame(root) |
frame = Frame(self.root) |
62 |
frame.grid(padx=10, pady=10) |
frame.grid(padx=10, pady=10) |
63 |
|
|
64 |
# Steuern Ein/Ausgabe |
# Steuern Ein/Ausgabe |
161 |
# Allgemeine UI Elemente |
# Allgemeine UI Elemente |
162 |
buttons = Frame(frame) |
buttons = Frame(frame) |
163 |
buttons.grid(row=9, column=2, columnspan=2) |
buttons.grid(row=9, column=2, columnspan=2) |
164 |
Button(buttons, text="Quit", command=root.quit).pack(side=LEFT) |
Button(buttons, text="Quit", command=self.root.quit).pack(side=LEFT) |
165 |
Button(buttons, text="Info", command=self.Info).pack(side=LEFT) |
Button(buttons, text="Info", command=self.Info).pack(side=LEFT) |
166 |
Button(buttons, text="Berechnen", command=self.CalcOutput).pack(side=LEFT) |
Button(buttons, text="Berechnen", command=self.CalcOutput).pack(side=LEFT) |
167 |
|
|