Python Tkinter Newbie question

2005-03-12 Thread Wim Goffin
Hi, I'm trying to get a bitmap onto a button, but I can't.Can anyone tell me where to look for a solution? The call I use is this one:self.b = Button(toolbar, text="nieuw", bitmap="@/test.xbm", width=20, command=self.print_msg) The message I get is this:Traceback (most recent call last):

Re: Python Tkinter Newbie question

2005-03-12 Thread Harlin Seritt
You have: =@/test.xbm take the '/' out or (if it is in a different dir which i think it is), do =/@test.xbm also... make sure your *.xbm is really a bitmap file (that would just be another thing to check... not to say its not the proper format)... Regards, Harlin Seritt --

Re: Python Tkinter Newbie question

2005-03-12 Thread Harlin Seritt
Try not to triple post if you can help it (I'll assume you accidentally hit the SENT button three times whistles) Regards, Harlin Seritt -- http://mail.python.org/mailman/listinfo/python-list