TclTK, images

A

Alexander Fleck

hi,

I need to include bitmaps in my Tk-project.
I wonder what method I have to use.

Can that be done by label->image...
or is there a special method?
My bitmap also should be able to change color.

I read that label->image can only show given images. Is that true?

thanks,
Alex.
 
G

Gregor Kopp

Alexander said:
hi,

I need to include bitmaps in my Tk-project.
I wonder what method I have to use.

Can that be done by label->image...
or is there a special method?
My bitmap also should be able to change color.

I read that label->image can only show given images. Is that true?

thanks,
Alex.


http://phrogz.net/ProgrammingRuby/ext_tk.html

Here under headline Binding Events you can see an example.
Maybe it helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top