Bitmap Labels

Bitmap Labels

As I mentioned before, you can use bitmaps as labels. Just use the -bitmap option instead of -text or -textvariable. The Tclet below shows all the built in bitmaps. You can also use your own bitmaps; I explain here how to do this.


There are eight labels in the above Tclet, one each for each built in bitmap. The default background color for bitmap labels is white, resulting in the ugly display above. You can make the bitmap float directly on the background by specifying a background color for the label that matches the surroundings, using the -bg option:


You can also change the foreground color of the bitmap label by using the -fg option:





comments?