# Simple Tkinter GUI for G4AKW Morse Program # Geoff Robinson Dec 2011 # Version 1.1 from Tkinter import * ''' This differs from the traditional import statement in that it puts everything in the module into the default namespace of this program, so now rather than needing to refer to a textbox as Tkinter.Textbox we can just write Textbox ''' import tkSimpleDialog as tks import tkMessageBox root = Tk() # window geometry is width x height + x_offset + y_offset root.geometry("600x160+350+300") root.title('G4AKW Morse Program') Label(root, text='Enter code to send in box').pack(pady=10) # Left frame to hold buttons left = Frame(root) left.pack(side=LEFT, expand=True, fill=Y) # Right frame to hold display right = Frame(root, height=100, width=300, bd=3, relief=GROOVE) right.pack(expand=True, fill=BOTH) # change the colour of the right-hand frame def changeColour(c): def change(): right.confi...