class Tk::BLT::Graph

Constants

TkCommandNames
WidgetClassName

Public Instance Methods

extents(item) click to toggle source
# File lib/tkextlib/blt/graph.rb, line 29
def extents(item)
  num_or_str(tk_send_without_enc('extents', item))
end
inside(x, y) click to toggle source
# File lib/tkextlib/blt/graph.rb, line 37
def inside(x, y)
  bool(tk_send_without_enc('inside', x, y))
end
invtransform(x, y) click to toggle source
# File lib/tkextlib/blt/graph.rb, line 33
def invtransform(x, y)
  list(tk_send_without_enc('invtransform', x, y))
end
snap(output, keys={}) click to toggle source
# File lib/tkextlib/blt/graph.rb, line 41
def snap(output, keys={})
  tk_send_without_enc('snap', *(hash_kv(keys, false) + output))
  self
end
transform(x, y) click to toggle source
# File lib/tkextlib/blt/graph.rb, line 46
def transform(x, y)
  list(tk_send_without_enc('transform', x, y))
end

Private Instance Methods

__boolval_optkeys() click to toggle source
# File lib/tkextlib/blt/graph.rb, line 19
def __boolval_optkeys
  ['bufferelements', 'invertxy']
end
__strval_optkeys() click to toggle source
# File lib/tkextlib/blt/graph.rb, line 24
def __strval_optkeys
  ['text', 'label', 'title', 'file', 'plotbackground']
end