Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://kodomo.cmm.msu.su/trac/cca/changeset/97%3Afaa45a728871
Äàòà èçìåíåíèÿ: Unknown
Äàòà èíäåêñèðîâàíèÿ: Sun Apr 10 04:16:34 2016
Êîäèðîâêà: IBM-866
Changeset 97:faa45a728871 òÀÓ Cyclyc Cell Automata

Changeset 97:faa45a728871


Ignore:
Timestamp:
12/14/10 22:04:28 (5 years ago)
Author:
is_rusinov
Branch:
default
Parents:
94:da7e8ebce313 (diff), 96:daa8203cf796 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automated merge with òÀËssh://kodomo.fbb.msu.ru/cca

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • interface.py

    r94 r97 ˆà
    55import tkFileDialogˆà
    66import tkMessageBoxˆà
    ˆà7import webbrowserˆà
    78from Tkinter import *ˆà
    89ˆà
    òÀæ òÀæ ˆà
    9091                self.draw()ˆà
    9192        ˆà
    92ˆà        def show_help_window(self, event=None):ˆà
    93ˆà                passˆà
    94ˆà        ˆà
    95ˆà        def hide_help_window(self, event=None):ˆà
    96ˆà                passˆà
    ˆà93        def show_help_window(self):ˆà
    ˆà94                url = 'Help\Help.html'ˆà
    ˆà95                webbrowser.open_new_tab(url)ˆà
    9796        ˆà
    9897        def zoom_in(self, event=None, zoom_rate=1):ˆà
  • interface.py

    r95 r97 ˆà
    578578manip_frame1 = Frame(automata_window, padx=10, pady=5)ˆà
    579579up = Button(manip_frame1, text="Up", command=handlers.upwards, width=10)ˆà
    580ˆàto_top = Button(manip_frame1, text="To Top", command=handlers.to_top, width=10)ˆà
    ˆà580to_top = Button(manip_frame1, text="To Top",ˆà
    ˆà581                                        command=handlers.to_top, width=10)ˆà
    581582up.pack(side="left", fill="x")ˆà
    582583to_top.pack(side="right", fill="x")ˆà
    òÀæ òÀæ ˆà
    584585ˆà
    585586manip_frame2 = Frame(automata_window, padx=10, pady=5)ˆà
    586ˆàdown = Button(manip_frame2, text="Down", command=handlers.downwards, width=10)ˆà
    ˆà587down = Button(manip_frame2, text="Down",ˆà
    ˆà588                                        command=handlers.downwards, width=10)ˆà
    587589to_bottom = Button(manip_frame2, text="To Bottom",ˆà
    588590                                        command=handlers.to_bottom, width=10)ˆà
    òÀæ òÀæ ˆà
    666668size_window.resizable(False, False)ˆà
    667669size_window.protocol("WM_DELETE_WINDOW", handlers.hide_size_window)ˆà
    668ˆàLabel(size_window, text="Current size of window:").pack(side="top", fill="x")ˆà
    ˆà670Label(size_window, text="Current window size:").pack(side="top", fill="x")ˆà
    669671size_label = Label(size_window)ˆà
    670672size_label.pack(side="top", fill="x")ˆà
    òÀæ òÀæ ˆà
    766768                                                                                                        accelerator="Ctrl+C")ˆà
    767769menu_action.bind_all("<Control-c>", handlers.clean_field)ˆà
    768ˆàmenu_action.add_command(label="Fill randomly", command=handlers.fill_randomly,ˆà
    ˆà770menu_action.add_command(label="Fill randomly",ˆà
    ˆà771                                                                                                        command=handlers.fill_randomly,ˆà
    769772                                                                                                        accelerator="Ctrl+R")ˆà
    770773menu_action.bind_all("<Control-r>", handlers.fill_randomly)ˆà
    771774menu_action.add_separator()ˆà
    772ˆàmenu_action.add_command(label="Change size",command=handlers.show_size_window,ˆà
    ˆà775menu_action.add_command(label="Change size",ˆà
    ˆà776                                                                                                        command=handlers.show_size_window,ˆà
    773777                                                                                                        accelerator="Ctrl+D")ˆà
    774778menu_action.bind_all("<Control-d>", handlers.show_size_window)ˆà
Note: See TracChangeset for help on using the changeset viewer.