Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://kodomo.cmm.msu.ru/trac/cca/changeset/59
Äàòà èçìåíåíèÿ: Unknown
Äàòà èíäåêñèðîâàíèÿ: Sun Apr 10 17:31:28 2016
Êîäèðîâêà: UTF-8
Changeset 59:9a80d2c6acbf ? Cyclyc Cell Automata

Changeset 59:9a80d2c6acbf


Ignore:
Timestamp:
12/09/10 00:18:19 (5 years ago)
Author:
Ilia
Branch:
default
Message:

change of button, fix#7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface.py

    r58 r59 š
    400400list_frame.pack(side="top")š
    401401š
    402šup = Button(automata_window, text="Up", command=handlers.upwards)š
    403šup.config(bg="red")š
    404šdown = Button(automata_window, text="Down", command=handlers.downwards)š
    405šdown.config(bg="orange")š
    406što_top = Button(automata_window, text="To Top", command=handlers.to_top)š
    407što_top.config(bg="yellow")š
    408što_bottom = Button(automata_window, text="To Bottom", command=handlers.to_bottom)š
    409što_bottom.config(bg="green")š
    410šdelete = Button(automata_window, text="Delete", command=handlers.delete_state)š
    411šdelete.config(bg="cyan")š
    412šup.pack(side="top", fill="x")š
    413šdown.pack(side="top", fill="x")š
    414što_top.pack(side="top", fill="x")š
    415što_bottom.pack(side="top", fill="x")š
    416šdelete.pack(side="top", fill="x")š
    š402manip_frame1 = Frame(automata_window, padx=10, pady=5)š
    š403up = Button(manip_frame1, text="Up", command=handlers.upwards, width=10)š
    š404to_top = Button(manip_frame1, text="To Top", command=handlers.to_top, width=10)š
    š405up.pack(side="left", fill="x")š
    š406to_top.pack(side="right", fill="x")š
    š407manip_frame1.pack(side="top", fill="x")š
    š408š
    š409manip_frame2 = Frame(automata_window, padx=10, pady=5)š
    š410down = Button(manip_frame2, text="Down", command=handlers.downwards, width=10)š
    š411to_bottom = Button(manip_frame2, text="To Bottom", command=handlers.to_bottom, width=10)š
    š412down.pack(side="left", fill="x")š
    š413to_bottom.pack(side="right", fill="x")š
    š414manip_frame2.pack(side="top", fill="x")š
    š415š
    š416delete = Button(automata_window, text="Delete", command=handlers.delete_state, width=10)š
    š417delete.pack(side="top")š
    417418š
    418419š
    ? ? š
    471472š
    472473š
    473šadd_state = Button(automata_window, text="Add", command=handlers.add)š
    474šadd_state.config(bg="blue")š
    475šchange_state = Button(automata_window, text="Change", command=handlers.change)š
    476šchange_state.config(bg="violet")š
    477šadd_state.pack(side="top", fill="x")š
    478šchange_state.pack(side="top", fill="x")š
    š474add_frame = Frame(automata_window, padx=10, pady=5)š
    š475add_state = Button(add_frame, text="Add", command=handlers.add, width=10)š
    š476change_state = Button(add_frame, text="Change", command=handlers.change, width=10)š
    š477add_state.pack(side="left", fill="x")š
    š478change_state.pack(side="right", fill="x")š
    š479add_frame.pack(side="top", fill="x")š
    479480š
    480481error=Label(automata_window)š
    ? ? š
    524525Label(size_window).pack(side="top", fill="x")š
    525526apply_frame = Frame(size_window, padx=10, pady=5)š
    526šapply_size = Button(apply_frame, text="Apply")š
    527šapply_size.config(bg="yellow")š
    š527apply_size = Button(apply_frame, text="Apply", width=6)š
    528528apply_size.pack(side="left", fill="x")š
    529šclose_size = Button(apply_frame, text="Close", command=handlers.hide_size_window)š
    530šclose_size.config(bg="green")š
    š529close_size = Button(apply_frame, text="Close", command=handlers.hide_size_window, width=6)š
    531530close_size.pack(side="right", fill="x")š
    532531apply_frame.pack(side="top", fill="x")š
Note: See TracChangeset for help on using the changeset viewer.