A
Albert Schlef
I have an item in my Treeview that I want to highlight. I have this
code:
require 'tk'
tree = Tk::Tile::Treeview.new.pack
tree.insert('', 'end', :text => 'blah blah', :tags => ['important'])
tree.tag_configure('configure', 'important', :background => 'yellow')
Tk.mainloop
But the item isn't shown with its background painted in yellow.
I took that code from:
http://www.tkdocs.com/tutorial/tree.html#appearance
That article mentions this bug in Ruby/Tk.
Is it possible to add some code in Ruby to fix the bug?
(I'm using Tk 8.4, Tile, and Ruby 1.8.7p174, Ubuntu.)
code:
require 'tk'
tree = Tk::Tile::Treeview.new.pack
tree.insert('', 'end', :text => 'blah blah', :tags => ['important'])
tree.tag_configure('configure', 'important', :background => 'yellow')
Tk.mainloop
But the item isn't shown with its background painted in yellow.
I took that code from:
http://www.tkdocs.com/tutorial/tree.html#appearance
That article mentions this bug in Ruby/Tk.
Is it possible to add some code in Ruby to fix the bug?
(I'm using Tk 8.4, Tile, and Ruby 1.8.7p174, Ubuntu.)