Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/cca/rev/3d1a72f49417
Дата изменения: Unknown
Дата индексирования: Mon Oct 1 23:06:39 2012
Кодировка:
cca: 3d1a72f49417

cca

changeset 19:3d1a72f49417

little corrections
author Ilia
date Sat, 04 Dec 2010 22:51:23 +0300
parents d2705c3ee7a7
children bb4a79cc6b6e
files Interface.py
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/Interface.py	Sat Dec 04 22:42:50 2010 +0300
     1.2 +++ b/Interface.py	Sat Dec 04 22:51:23 2010 +0300
     1.3 @@ -222,15 +222,15 @@
     1.4  for state in states:
     1.5  	state_list.insert("end", state)
     1.6  state_list.pack(side="top", fill="y")
     1.7 -up = Button(automata_frame, text="Up", state="DISABLED")
     1.8 +up = Button(automata_frame, text="Up", state="disabled")
     1.9  up.config(bg="red")
    1.10 -down = Button(automata_frame, text="Down", state="DISABLED")
    1.11 +down = Button(automata_frame, text="Down", state="disabled")
    1.12  down.config(bg="orange")
    1.13 -to_top = Button(automata_frame, text="To Top", state="DISABLED")
    1.14 +to_top = Button(automata_frame, text="To Top", state="disabled")
    1.15  to_top.config(bg="yellow")
    1.16 -to_bottom = Button(automata_frame, text="To Bottom", state="DISABLED")
    1.17 +to_bottom = Button(automata_frame, text="To Bottom", state="disabled")
    1.18  to_bottom.config(bg="green")
    1.19 -delete = Button(automata_frame, text="Delete", state="DISABLED")
    1.20 +delete = Button(automata_frame, text="Delete", state="disabled")
    1.21  delete.config(bg="cyan")
    1.22  up.pack(side="top", fill="x")
    1.23  down.pack(side="top", fill="x")
    1.24 @@ -290,9 +290,9 @@
    1.25  condition_frame.pack(side="top")
    1.26  
    1.27  
    1.28 -add_state = Button(automata_frame, text="ADD", state="DISABLED")
    1.29 +add_state = Button(automata_frame, text="ADD", state="disabled")
    1.30  add_state.config(bg="blue")
    1.31 -change_state = Button(automata_frame, text="Change", state="DISABLED")
    1.32 +change_state = Button(automata_frame, text="Change", state="disabled")
    1.33  change_state.config(bg="violet")
    1.34  add_state.pack(side="top", fill="x")
    1.35  change_state.pack(side="top", fill="x")
    1.36 @@ -308,7 +308,8 @@
    1.37  size_window.withdraw()
    1.38  size_window.protocol("WM_DELETE_WINDOW", handlers.hide_size_window)
    1.39  Label(size_window, text= "Current size of window:").pack(side="top", fill="x")
    1.40 -Label(size_window, text= "X x Y").pack(side="top", fill="x")
    1.41 +size = Label(size_window, text= str(len(automata.field)) + " x " + str(len(automata.field[0])))
    1.42 +size.pack(side="top", fill="x")
    1.43  Label(size_window, text= "New size:").pack(side="top", fill="x")
    1.44  new_size = Frame(size_window)
    1.45  size_x = Entry(new_size, width=5)