BarElement_ID = [‘blt_stripchart_bar’.freeze, TkUtil.untrust(‘00000’)].freeze
def bar(elem=nil, keys={})
if elem.kind_of?(Hash) keys = elem elem = nil end unless elem elem = BarElement_ID.join(TkCore::INTERP._ip_id_).freeze BarElement_ID[1].succ! end tk_send('bar', elem, keys) Element.new(self, elem, :without_creating=>true)
end
# File tk/lib/tkextlib/blt/stripchart.rb, line 47
def extents(item)
num_or_str(tk_send_without_enc('extents', item))
end
# File tk/lib/tkextlib/blt/stripchart.rb, line 55
def inside(x, y)
bool(tk_send_without_enc('inside', x, y))
end
# File tk/lib/tkextlib/blt/stripchart.rb, line 51
def invtransform(x, y)
list(tk_send_without_enc('invtransform', x, y))
end
# File tk/lib/tkextlib/blt/stripchart.rb, line 59
def metafile(file=None)
# Windows only
tk_send('metafile', file)
self
end