# TclTK, images

**URL:** https://rubytalk.org/t/tcltk-images/40132
**Category:** ruby-talk
**Created:** [23 August 2007 06:10 UTC](https://rubytalk.org/t/tcltk-images/40132 "2007-08-23T06:10:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alexander\_Fleck](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Alexander\_Fleck](https://rubytalk.org/u/Alexander_Fleck)
#### Post date: [23 August 2007 06:10 UTC](https://rubytalk.org/t/tcltk-images/40132/1 "2007-08-23T06:10:05Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Gregor\_Kopp](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Gregor\_Kopp](https://rubytalk.org/u/Gregor_Kopp)
#### Post date: [23 August 2007 09:45 UTC](https://rubytalk.org/t/tcltk-images/40132/2 "2007-08-23T09:45:18Z")

</div>

Alexander Fleck wrote:

> 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](http://phrogz.net/ProgrammingRuby/ext_tk.html)

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