Methods
- #
- C
- D
- E
- I
- L
- M
- N
- R
- S
- V
Constants
| SliceID_TBL | = | TkCore::INTERP.create_table |
| Pie_Slice_ID | = | ['vu:pie'.freeze, TkUtil.untrust('00000')]).instance_eval{ @mutex = Mutex.new |
Class Public methods
id2obj(pie, id)
Link
new(parent, *args)
Link
# File ext/tk/lib/tkextlib/vu/pie.rb, line 142 def initialize(parent, *args) unless parent.kind_of?(Tk::Vu::Pie) fail ArgumentError, "expect a Tk::Vu::Pie instance for 1st argument" end @parent = @pie = parent @ppath = parent.path Pie_Slice_ID.mutex.synchronize{ @path = @id = Pie_Slice_ID.join(TkCore::INTERP._ip_id_) Pie_Slice_ID[1].succ! } SliceID_TBL.mutex.synchronize{ SliceID_TBL[@ppath] = {} unless SliceID_TBL[@ppath] SliceID_TBL[@ppath][@id] = self } if args[-1].kind_of?(Hash) keys = args.unshift end @pie.set(@id, *args) configure(keys) end
Instance Public methods
[](key)
Link
[]=(key,val)
Link
cget(slot)
Link
cget_strict(slot)
Link
cget_tkstring(slot)
Link
configinfo(*args)
Link
configure(*args)
Link
current_configinfo(*args)
Link
delete()
Link
explode(value)
Link
explode_value()
Link
lower(other=None)
Link
mutex()
Link
raise(other=None)
Link