Insert some text in bandmap.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@324 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2007-01-08 21:32:19 +00:00
parent 7f27ec815d
commit 3f60af4ae0

View File

@ -1160,12 +1160,13 @@ def bandmap(event=NONE):
bm.geometry(bm_geom) bm.geometry(bm_geom)
if g.Win32: bm.iconbitmap("wsjt.ico") if g.Win32: bm.iconbitmap("wsjt.ico")
iframe_bm1 = Frame(bm, bd=1, relief=SUNKEN) iframe_bm1 = Frame(bm, bd=1, relief=SUNKEN)
text=Text(iframe_bm1, height=35, width=30, bg="Navy") text=Text(iframe_bm1, height=35, width=30, bg="Navy", fg="yellow")
text.pack(side=LEFT, fill=X, padx=1)
text.pack(side=LEFT, fill=X, padx=1) text.pack(side=LEFT, fill=X, padx=1)
sb = Scrollbar(iframe_bm1, orient=VERTICAL, command=text.yview) sb = Scrollbar(iframe_bm1, orient=VERTICAL, command=text.yview)
sb.pack(side=RIGHT, fill=Y) sb.pack(side=RIGHT, fill=Y)
text.configure(yscrollcommand=sb.set) text.configure(yscrollcommand=sb.set)
text.insert(END,'144.118 K1JT\n')
text.insert(END,'144.127 KB8RQ')
iframe_bm1.pack(expand=1, fill=X, padx=4) iframe_bm1.pack(expand=1, fill=X, padx=4)
#------------------------------------------------------ update #------------------------------------------------------ update