Changeset 95:dcd9d23e77d7
Legend:
- Unmodified
- Added
- Removed
-
main.py
r86 r95 €а 21 21 def buttons_pack(self, frame):€а 22 22 load_1 = tk.Button(frame, text="Load 1", command=lambda: self.load(1))€а 23 €а load_1.pack(side="left", fill="both", expand = " yes")€а€а 23 load_1.pack(side="left", fill="both", expand = "no")€а 24 24 load_2 = tk.Button(frame, text="Load 2", command=lambda: self.load(2))€а 25 €а load_2.pack(side="left", fill="both", expand = " yes")€а€а 25 load_2.pack(side="left", fill="both", expand = "no")€а 26 26 run_b = tk.Button(frame, text="Run", command=lambda: self.run())€а 27 €а run_b.pack(side="left", fill="both", expand = " yes")€а€а 27 run_b.pack(side="left", fill="both", expand = "no")€а 28 28 load_3 = tk.Button(frame, text="Load 3", command=lambda: self.load(3))€а 29 €а load_3.pack(side="right", fill="both", expand = " yes")€а€а 29 load_3.pack(side="right", fill="both", expand = "no")€а 30 30 load_4 = tk.Button(frame, text="Load 4", command=lambda: self.load(4))€а 31 €а load_4.pack(side="right", fill="both", expand = " yes")€а€а 31 load_4.pack(side="right", fill="both", expand = "no")€а 32 32 step_b = tk.Button(frame, text="Step", command=lambda: self.step())€а 33 €а step_b.pack(side="right", fill="both", expand = " yes")€а€а 33 step_b.pack(side="right", fill="both", expand = "no")€а 34 34 return€а 35 35 €а
Note: See TracChangeset
for help on using the changeset viewer.