# Ruby TkListBox option

**URL:** <https://www.ruby-forum.com/t/ruby-tklistbox-option/98009>\
**Category:** Ruby\
**Created:** [July 11, 2006, 11:38pm UTC](https://www.ruby-forum.com/t/ruby-tklistbox-option/98009 "2006-07-11T23:38:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Post date:** [July 11, 2006, 11:38pm UTC](https://www.ruby-forum.com/t/ruby-tklistbox-option/98009/1 "2006-07-11T23:38:35Z")

</div>

Can anyone tell me if the TkListbox option  
insertBackground is available in Ruby Tk?

I’m having no luck when trying to set this option via  
the TkListbox.configure(‘insertBackground’, ‘red’)  
method or even trying to set this option through the  
TkListbox.new constructor.

What I’m trying to do is change the background color  
of a particular Listbox item.

Thanks in advance,

Jason T

---

<div class="post-metadata">

**Author:** ![jtoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Post date:** [July 12, 2006, 12:19am UTC](https://www.ruby-forum.com/t/ruby-tklistbox-option/98009/2 "2006-07-12T00:19:49Z")

</div>

From: Jason T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Ruby TkListBox option  
Date: Wed, 12 Jul 2006 06:34:40 +0900  
Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> Can anyone tell me if the TkListbox option  
> insertBackground is available in Ruby Tk?

If Tcl/Tk8.4.12’s man page about listbox is right,  
listbox widgets don’t have ‘-insertbackground’ option.
