Tkinter, image not appearing in function but without function

2008-04-13 Thread skanemupp
why is the first program not working? when i click the screen the map is not appearing. the second program works. from Tkinter import * master = Tk() w = Canvas(master, width=700, height=600) w.pack(expand = YES, fill = BOTH) def mapper(): mapq = PhotoImage(file =

Re: Tkinter, image not appearing in function but without function

2008-04-13 Thread Marc 'BlackJack' Rintsch
On Sun, 13 Apr 2008 08:57:29 -0700, skanemupp wrote: why is the first program not working? when i click the screen the map is not appearing. the second program works. from Tkinter import * master = Tk() w = Canvas(master, width=700, height=600) w.pack(expand = YES, fill = BOTH)

Re: Tkinter, image not appearing in function but without function

2008-04-13 Thread 7stud
On Apr 13, 11:12 am, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: On Sun, 13 Apr 2008 08:57:29 -0700, skanemupp wrote: why is the first program not working? when i click the screen the map is not appearing. the second program works. from Tkinter import * master = Tk() w =