2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018 
     | 
    
      # File 'lib/tkextlib/blt/component.rb', line 2003
def x2axis_configure(slot, value=None)
  if slot.kind_of?(Hash)
    slot = _symbolkey2str(slot)
    if cmd = slot.delete('command')
      slot['command'] = proc{|w, tick|
        cmd.call(TkComm.window(w), TkComm.num_or_str(tick))
      }
    end
  elsif slot == :command || slot == 'command'
    cmd = value
    value = proc{|w, tick|
      cmd.call(TkComm.window(w), TkComm.num_or_str(tick))
    }
  end
  itemconfigure('x2axis', slot, value)
end
     |