class Tk::BLT::Barchart
Constants
- TkCommandNames
- WidgetClassName
Public Instance Methods
Source
# File lib/tkextlib/blt/barchart.rb, line 36 def extents(item) num_or_str(tk_send_without_enc('extents', item)) end
Source
# File lib/tkextlib/blt/barchart.rb, line 44 def inside(x, y) bool(tk_send_without_enc('inside', x, y)) end
Source
# File lib/tkextlib/blt/barchart.rb, line 40 def invtransform(x, y) list(tk_send_without_enc('invtransform', x, y)) end
Source
# File lib/tkextlib/blt/barchart.rb, line 48 def metafile(file=None) # Windows only tk_send('metafile', file) self end
Source
# File lib/tkextlib/blt/barchart.rb, line 54 def snap(output, keys={}) tk_send_without_enc('snap', *(hash_kv(keys, false) + output)) self end
Source
# File lib/tkextlib/blt/barchart.rb, line 59 def transform(x, y) list(tk_send_without_enc('transform', x, y)) end
Private Instance Methods
Source
# File lib/tkextlib/blt/barchart.rb, line 20 def __boolval_optkeys ['bufferelements', 'buffergraph', 'invertxy'] end
Source
# File lib/tkextlib/blt/barchart.rb, line 25 def __strval_optkeys ['text', 'label', 'title', 'file', 'background', 'plotbackground'] end
Source
# File lib/tkextlib/blt/barchart.rb, line 31 def __tkvariable_optkeys super() << 'colormap' << 'fontmap' end
Calls superclass method
TkConfigMethod#__tkvariable_optkeys