Re: bitmap problem

2008-01-20 Thread Robin Becker
Robin Becker wrote: > I'm having trouble with defining a completely transparent bitmap > for use as a stipple in a canvas > > ... after a bit of searching I find that stipples cannot be created with the tk image command; for non-standard stipples you need to use a file. -- Robin Becker --

bitmap problem

2008-01-20 Thread Robin Becker
I'm having trouble with defining a completely transparent bitmap for use as a stipple in a canvas import Tkinter Tkinter._default_root.tk.call('image','create', 'bitmap', 'gray0', '-background', '', '-data', '#define gray0_width 1\n#define gray0_height 1\nstatic