Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-bitmap option for TK Label

Status
Not open for further replies.

GHalstead

Programmer
Jul 9, 2001
5
GB
Hi, I am trying to use an external bitmap as the image for a button. My code is:

label .f-buttons.l-test -bitmap @board.xpm
pack .f-buttons.l-test

My error is: error reading bitmap file "board.xpm"

The bitmap file is in the same dir as I am running the tcl code from.
 
OK, I hope not too many people read this as I have solved my own problem and probably should not have posted in the first place. Anyway my bitmap was not an X11 bitmap.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top