While attempting to add images to a canvas programmatically, I wrote
the following:
for i in os.listdir('./icons/terrain'):
... img = PhotoImage(file='./icons/terrain/'+i)
self.terrainScreen.create_image(int(self.terrainScreen[height])-50,
(int(self.terrainScreen[height])-50),
Thanks for your help, I've gotten it to work.
On 5/20/06, Alan Gauld [EMAIL PROTECTED] wrote:
While attempting to add images to a canvas programmatically, I wrote
the following:
for i in os.listdir('./icons/terrain'):
... img = PhotoImage(file='./icons/terrain/'+i)
While attempting to add images to a canvas programmatically, I wrote
the following:
for i in os.listdir('./icons/terrain'):
self.terrainScreen[height] = str(int(self.terrainScreen[height])+50)
debug(self.terrainScreen[height]+ height of terrainScreen,5)
img =
Henry Finucane wrote:
While attempting to add images to a canvas programmatically, I wrote
the following:
for i in os.listdir('./icons/terrain'):
self.terrainScreen[height] = str(int(self.terrainScreen[height])+50)
debug(self.terrainScreen[height]+ height of terrainScreen,5)