Methods
- A
- B
- C
- D
- E
- F
- H
- I
- L
- N
- O
- P
- R
- S
- T
- V
Constants
| TreeCtrlItemID_TBL | = | TkCore::INTERP.create_table |
Class Public methods
id2obj(tree, id)
Link
# File ext/tk/lib/tkextlib/treectrl/tktreectrl.rb, line 1976 def self.id2obj(tree, id) tpath = tree.path Tk::TreeCtrl::Item::TreeCtrlItemID_TBL.mutex.synchronize{ if Tk::TreeCtrl::Item::TreeCtrlItemID_TBL[tpath] Tk::TreeCtrl::Item::TreeCtrlItemID_TBL[tpath][id]? Tk::TreeCtrl::Item::TreeCtrlItemID_TBL[tpath][id] : id else id end } end
new(parent, keys={})
Link
# File ext/tk/lib/tkextlib/treectrl/tktreectrl.rb, line 1988 def initialize(parent, keys={}) @tree = parent @tpath = parent.path @path = @id = @tree.item_create(keys) Tk::TreeCtrl::Item::TreeCtrlItemID_TBL.mutex.synchronize{ Tk::TreeCtrl::Item::TreeCtrlItemID_TBL[@tpath] ||= {} Tk::TreeCtrl::Item::TreeCtrlItemID_TBL[@tpath][@id] = self } end
Instance Public methods
ancestors()
Link
bbox(*args)
Link
cget(opt)
Link
cget_strict(opt)
Link
cget_tkstring(opt)
Link
children()
Link
collapse()
Link
collapse_recurse()
Link
complex(*args)
Link
configinfo(*args)
Link
configure(*args)
Link
current_configinfo(*args)
Link
current_element_configinfo(*args)
Link
delete()
Link
element_actual(column, elem, key)
Link
element_cget_strict(opt)
Link
element_cget_tkstring(opt)
Link
element_configinfo(*args)
Link
element_configure(*args)
Link
element_dump()
Link
element_dump_hash()
Link
expand()
Link
expand_recurse()
Link
id()
Link
index()
Link
isancestor(des)
Link
isopen()
Link
item_text(column, txt=nil, *args)
Link
parent_index()
Link
remove()
Link
rnc()
Link
sort(*opts)
Link
sort_not_really(*opts)
Link
state_get(*args)
Link
state_set(*args)
Link
style_elements(column)
Link
style_map(column, style, map)
Link
style_set(column=nil, *args)
Link
to_s()
Link
toggle()
Link
toggle_recurse()
Link