Namespace
- MODULE Tk::BLT::Treeview::ConfigMethod
- MODULE Tk::BLT::Treeview::TagOrID_Methods
- CLASS Tk::BLT::Treeview::FindExecFlagValue
- CLASS Tk::BLT::Treeview::Node
- CLASS Tk::BLT::Treeview::OpenCloseCommand
- CLASS Tk::BLT::Treeview::Tag
Methods
- #
- B
- C
- D
- E
- F
- G
- H
- I
- M
- N
- O
- R
- S
- T
-
- tag_add,
- tag_bind,
- tag_bind_append,
- tag_bind_remove,
- tag_bindinfo,
- tag_delete,
- tag_focus,
- tag_forget,
- tag_names,
- tag_nodes,
- tagid2obj,
- text_apply,
- text_cancel,
- text_delete,
- text_get,
- text_get_root,
- text_icursor,
- text_index,
- text_insert,
- text_selection_adjust,
- text_selection_clear,
- text_selection_from,
- text_selection_present,
- text_selection_range,
- text_selection_to,
- toggle
Included Modules
- Scrollable
- ValidateConfigure
- ItemValidateConfigure
- Tk::BLT::Treeview::ConfigMethod
Constants
TkCommandNames | = | ['::blt::treeview'.freeze].freeze |
WidgetClassName | = | 'TreeView'.freeze |
Instance Public methods
__destroy_hook__()
Link
# File ext/tk/lib/tkextlib/blt/treeview.rb, line 328 def __destroy_hook__ Tk::BLT::Treeview::Node::TreeNodeID_TBL.mutex.synchronize{ Tk::BLT::Treeview::Node::TreeNodeID_TBL.delete(@path) } Tk::BLT::Treeview::Tag::TreeTagID_TBL.mutex.synchronize{ Tk::BLT::Treeview::Tag::TreeTagID_TBL.delete(@path) } end
__item_validation_class_list(id)
Link
__validation_class_list()
Link
_find_exec_flag_value(val)
Link
# File ext/tk/lib/tkextlib/blt/treeview.rb, line 562 def _find_exec_flag_value(val) if val.kind_of?(Array) cmd, *args = val #FindExecFlagValue.new(cmd, args.join(' ')) FindExecFlagValue.new(cmd, *args) elsif TkComm._callback_entry?(val) FindExecFlagValue.new(val) else val end end
bbox(*tags)
Link
close(*tags)
Link
close_recurse(*tags)
Link
column_activate(column=None)
Link
column_delete(*fields)
Link
column_insert(pos, field, *opts)
Link
column_invoke(field)
Link
column_move(name, dest)
Link
column_names()
Link
column_nearest(x, y=None)
Link
curselection()
Link
delete(*tags)
Link
entry_activate(tag)
Link
entry_before?(tag1, tag2)
Link
entry_children(tag, first=None, last=None)
Link
entry_delete(tag, first=None, last=None)
Link
Source: on GitHub
|
entry_open?(tag)
Link
entry_size(tag)
Link
entry_size_recurse(tag)
Link
find(first, last, keys={})
Link
# File ext/tk/lib/tkextlib/blt/treeview.rb, line 576 def find(first, last, keys={}) keys = _search_flags(keys) keys['exec'] = _find_exec_flag_value(keys['exec']) if keys.key?('exec') args = hash_kv(keys) << '--' << tagid(first) << tagid(last) simplelist(tk_send('find', *args)).collect{|id| tagid2obj(id)} end
get(*tags)
Link
get_full(*tags)
Link
hide(*tags)
Link
index(str)
Link
index_at(tag, str)
Link
index_at_path(tag, str)
Link
insert(pos, parent=nil, keys={})
Link
insert_at(tag, pos, parent=nil, keys={})
Link
move_after(tag, dest)
Link
move_before(tag, dest)
Link
move_into(tag, dest)
Link
nearest(x, y, var=None)
Link
open(*tags)
Link
open_recurse(*tags)
Link
range(first, last)
Link
range_open(first, last)
Link
scan_dragto(x, y)
Link
scan_mark(x, y)
Link
screen_bbox(*tags)
Link
see(tag)
Link
see_anchor(anchor, tag)
Link
selection_anchor(tag)
Link
selection_cancel()
Link
selection_clear(first, last=None)
Link
selection_clear_all()
Link
selection_include?(tag)
Link
selection_mark(tag)
Link
selection_present?()
Link
selection_set(first, last=None)
Link
selection_toggle(first, last=None)
Link
show(*tags)
Link
sort_auto(mode)
Link
sort_auto=(mode)
Link
sort_auto?()
Link
sort_once(*tags)
Link
sort_once_recurse(*tags)
Link
tag_add(tag, *ids)
Link
tag_bind(tag, seq, *args)
Link
tag_bind_append(tag, seq, *args)
Link
tag_bind_remove(tag, seq)
Link
tag_bindinfo(tag, seq=nil)
Link
tag_delete(tag, *ids)
Link
tag_focus(tag)
Link
tag_forget(tag)
Link
tag_names(id=nil)
Link
tag_nodes(tag)
Link
tagid2obj(tagid)
Link
# File ext/tk/lib/tkextlib/blt/treeview.rb, line 347 def tagid2obj(tagid) if tagid.kind_of?(Integer) Tk::BLT::Treeview::Node.id2obj(self, tagid.to_s) elsif tagid.kind_of?(String) if tagid =~ /^\d+$/ Tk::BLT::Treeview::Node.id2obj(self, tagid) else Tk::BLT::Treeview::Tag.id2obj(self, tagid) end else tagid end end
text_apply()
Link
text_cancel()
Link
text_delete(first, last)
Link
text_get(x, y)
Link
text_get_root(x, y)
Link
text_icursor(idx)
Link
text_index(idx)
Link
text_insert(idx, str)
Link
text_selection_adjust(idx)
Link
text_selection_clear()
Link
text_selection_from(idx)
Link
text_selection_present()
Link
text_selection_range(start, last)
Link
text_selection_to(idx)
Link