Methods
- A
- C
- D
- G
- I
- N
- T
Constants
LegendID_TBL | = | TkCore::INTERP.create_table |
Class Public methods
new(chart, keys={})
Link
# File ext/tk/lib/tkextlib/blt/component.rb, line 923 def self.new(chart, keys={}) obj = nil LegenedID_TBL.mutex.synchronize{ unless (obj = LegenedID_TBL[chart.path]) (obj = self.allocate).instance_eval{ @parent = @chart = chart @cpath = @chart.path @path = @id = 'crosshairs' Legend::LegenedID_TBL[@cpath] = self } end } chart.legend_configure(keys) if obj && ! keys.empty? obj end
new(chart, keys={})
Link
# File ext/tk/lib/tkextlib/blt/component.rb, line 939 def initialize(chart, keys={}) # dummy:: not called by 'new' method @parent = @chart = chart @cpath = @chart.path # Legend::LegendID_TBL[@cpath] = self @chart.legend_configure(keys) unless keys.empty? @path = @id = 'legend' end
Instance Public methods
activate(*args)
Link
cget(option)
Link
cget_strict(option)
Link
cget_tkstring(option)
Link
configinfo(key=nil)
Link
configure(key, value=None)
Link
current_configinfo(key=nil)
Link
deactivate(*args)
Link
get(pos, y=nil)
Link
id()
Link