Method: Tk::BLT::PlotComponent#xaxis_bind

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

#xaxis_bind(context, *args) ⇒ Object



1950
1951
1952
1953
1954
1955
1956
1957
1958
# File 'lib/tkextlib/blt/component.rb', line 1950

def xaxis_bind(context, *args)
  if TkComm._callback_entry?(args[0]) || !block_given?
    cmd = args.shift
  else
    cmd = Proc.new
  end
  _bind([path, 'xaxis', 'bind'], context, cmd, *args)
  self
end