From: Maggie Xiao Date: 2002-07-22T00:03:55+09:00 Subject: RE: How to use "new" method of TkImage >Thanks,I know how to create a photoimage, but I don't know how to use Image.new;can it create a new image?According to the Rdoc, should be "new(keys=nil)".Thanks again. ===== Original Message From ts ===== >>>>> "M" == Maggie Xiao writes: > >M> TkImage.new{type "phoimage" >M> file "xxxx.gif" >M> } > > Apparently you want a PhotoImage, try > > TkPhotoImage.new { file "xxxx.gif" } > > >Guy Decoux