Method: Tk::BLT::PlotComponent#marker_configure

Defined in:
ext/lib/tkextlib/blt/component.rb

#marker_configure(*args) ⇒ Object



287
288
289
290
291
292
293
294
295
296
297
# File 'ext/lib/tkextlib/blt/component.rb', line 287

def marker_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('marker')
  itemconfigure(id_list, slot, value)
end