Changeset 19:3d1a72f49417
- Timestamp:
- 12/04/10 22:51:23 (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface.py
r18 r19 ˆà 223 223 state_list.insert("end", state)ˆà 224 224 state_list.pack(side="top", fill="y")ˆà 225 ˆà up = Button(automata_frame, text="Up", state=" DISABLED")ˆàˆà 225 up = Button(automata_frame, text="Up", state="disabled")ˆà 226 226 up.config(bg="red")ˆà 227 ˆà down = Button(automata_frame, text="Down", state=" DISABLED")ˆàˆà 227 down = Button(automata_frame, text="Down", state="disabled")ˆà 228 228 down.config(bg="orange")ˆà 229 ˆà to_top = Button(automata_frame, text="To Top", state=" DISABLED")ˆàˆà 229 to_top = Button(automata_frame, text="To Top", state="disabled")ˆà 230 230 to_top.config(bg="yellow")ˆà 231 ˆà to_bottom = Button(automata_frame, text="To Bottom", state=" DISABLED")ˆàˆà 231 to_bottom = Button(automata_frame, text="To Bottom", state="disabled")ˆà 232 232 to_bottom.config(bg="green")ˆà 233 ˆà delete = Button(automata_frame, text="Delete", state=" DISABLED")ˆàˆà 233 delete = Button(automata_frame, text="Delete", state="disabled")ˆà 234 234 delete.config(bg="cyan")ˆà 235 235 up.pack(side="top", fill="x")ˆà òÀæ òÀæ ˆà 291 291 ˆà 292 292 ˆà 293 ˆà add_state = Button(automata_frame, text="ADD", state=" DISABLED")ˆàˆà 293 add_state = Button(automata_frame, text="ADD", state="disabled")ˆà 294 294 add_state.config(bg="blue")ˆà 295 ˆà change_state = Button(automata_frame, text="Change", state=" DISABLED")ˆàˆà 295 change_state = Button(automata_frame, text="Change", state="disabled")ˆà 296 296 change_state.config(bg="violet")ˆà 297 297 add_state.pack(side="top", fill="x")ˆà òÀæ òÀæ ˆà 309 309 size_window.protocol("WM_DELETE_WINDOW", handlers.hide_size_window)ˆà 310 310 Label(size_window, text= "Current size of window:").pack(side="top", fill="x")ˆà 311 ˆà Label(size_window, text= "X x Y").pack(side="top", fill="x")ˆà ˆà 311 size = Label(size_window, text= str(len(automata.field)) + " x " + str(len(automata.field[0])))ˆà ˆà 312 size.pack(side="top", fill="x")ˆà 312 313 Label(size_window, text= "New size:").pack(side="top", fill="x")ˆà 313 314 new_size = Frame(size_window)ˆà
Note: See TracChangeset
for help on using the changeset viewer.