Method: Tk::BLT::PlotComponent#pen_configure
- Defined in:
- lib/tkextlib/blt/component.rb
#pen_configure(*args) ⇒ Object
272 273 274 275 276 277 278 279 280 281 282 |
# File 'lib/tkextlib/blt/component.rb', line 272 def pen_configure(*args) slot = args.pop if slot.kind_of?(Hash) value = None else value = slot slot = args.pop end id_list = args.flatten.collect!{|id| tagid(id)}.unshift('pen') itemconfigure(id_list, slot, value) end |