Re: tkinter icons as bytestrings, not files?

2009-02-24 Thread Gabriel Genellina
En Tue, 24 Feb 2009 02:56:12 -0200, Peter Billam pe...@www.pjb.com.au escribió: As a newbie, starting with Python3, I'm working my way through Mark Summerfield's tkinter examples. In the toolbar, there's lines like: image = os.path.join(os.path.dirname(__file__), image) image =

Re: tkinter icons as bytestrings, not files?

2009-02-24 Thread Eric Brunel
On Tue, 24 Feb 2009 05:56:12 +0100, Peter Billam pe...@www.pjb.com.au wrote: Greetings, As a newbie, starting with Python3, I'm working my way through Mark Summerfield's tkinter examples. In the toolbar, there's lines like: for image, command in ( ('images/filenew.gif',

tkinter icons as bytestrings, not files?

2009-02-23 Thread Peter Billam
Greetings, As a newbie, starting with Python3, I'm working my way through Mark Summerfield's tkinter examples. In the toolbar, there's lines like: for image, command in ( ('images/filenew.gif', self.fileNew), ('images/fileopen.gif', self.fileOpen),