Bitmaps On Buttons ?

PGMoscatt pgmoscatt at optushome.com.au
Tue Mar 15 03:45:48 EST 2005


I am slowly progressing with my python app.

I have got to the point where I would like to place images onto my buttons. 
I use Tkinter as my GUI libary.

The following is how I understand I place an image onto a button - but I am
not having much success with it all.

Any ideas ?

Pete

b=Button(ToolBar,padx=1,pady=1,width=2,height=1,command=callquit,)
b.bitmap="@button_cancel.xbm"
b.place(x=0,y=0)




More information about the Python-list mailing list