column_cget(tagOrId, option)
click to toggle source
def column_cget(tagOrId, option)
itemcget(['column', tagOrId], option)
end
column_configinfo(tagOrId, slot=nil)
click to toggle source
def column_configinfo(tagOrId, slot=nil)
itemconfiginfo(['column', tagOrId], slot)
end
column_dragcget(option)
click to toggle source
def column_dragcget(option)
itemcget(['column', 'drag'], option)
end
column_dragconfiginfo(slot=nil)
click to toggle source
def column_dragconfiginfo(slot=nil)
itemconfiginfo(['column', 'drag'], slot)
end
current_column_configinfo(tagOrId, slot=nil)
click to toggle source
def current_column_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['column', tagOrId], slot)
end
current_column_dragconfiginfo(slot=nil)
click to toggle source
def current_column_dragconfiginfo(slot=nil)
current_itemconfiginfo(['column', 'drag'], slot)
end
current_debug_configinfo(slot=nil)
click to toggle source
def current_debug_configinfo(slot=nil)
current_itemconfiginfo('debug', slot)
end
current_dragimage_configinfo(slot=nil)
click to toggle source
def current_dragimage_configinfo(slot=nil)
current_itemconfiginfo('dragimage', slot)
end
current_element_configinfo(tagOrId, slot=nil)
click to toggle source
def current_element_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['element', tagOrId], slot)
end
current_item_configinfo(tagOrId, slot=nil)
click to toggle source
def current_item_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['item', tagOrId], slot)
end
current_item_element_configinfo(item, column, elem, slot=nil)
click to toggle source
def current_item_element_configinfo(item, column, elem, slot=nil)
current_itemconfiginfo([['item', 'element'], [item, column, elem]], slot)
end
current_marquee_configinfo(slot=nil)
click to toggle source
def current_marquee_configinfo(slot=nil)
current_itemconfiginfo('marquee', slot)
end
current_notify_configinfo(win, pattern, slot=nil)
click to toggle source
current_style_configinfo(tagOrId, slot=nil)
click to toggle source
def current_style_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['style', tagOrId], slot)
end
debug_cget(option)
click to toggle source
def debug_cget(option)
itemcget('debug', option)
end
debug_configinfo(slot=nil)
click to toggle source
def debug_configinfo(slot=nil)
itemconfiginfo('debug', slot)
end
dragimage_cget(option)
click to toggle source
def dragimage_cget(option)
itemcget('dragimage', option)
end
dragimage_configinfo(slot=nil)
click to toggle source
def dragimage_configinfo(slot=nil)
itemconfiginfo('dragimage', slot)
end
element_cget(tagOrId, option)
click to toggle source
def element_cget(tagOrId, option)
itemcget(['element', tagOrId], option)
end
element_configinfo(tagOrId, slot=nil)
click to toggle source
def element_configinfo(tagOrId, slot=nil)
itemconfiginfo(['element', tagOrId], slot)
end
item_cget(tagOrId, option)
click to toggle source
def item_cget(tagOrId, option)
itemcget(['item', tagOrId], option)
end
item_configinfo(tagOrId, slot=nil)
click to toggle source
def item_configinfo(tagOrId, slot=nil)
itemconfiginfo(['item', tagOrId], slot)
end
item_element_cget(item, column, elem, option)
click to toggle source
def item_element_cget(item, column, elem, option)
itemcget([['item', 'element'], [item, column, elem]], option)
end
item_element_configinfo(item, column, elem, slot=nil)
click to toggle source
def item_element_configinfo(item, column, elem, slot=nil)
itemconfiginfo([['item', 'element'], [item, column, elem]], slot)
end
marquee_cget(option)
click to toggle source
def marquee_cget(option)
itemcget('marquee', option)
end
marquee_configinfo(slot=nil)
click to toggle source
def marquee_configinfo(slot=nil)
itemconfiginfo('marquee', slot)
end
notify_cget(win, pattern, option)
click to toggle source
def notify_cget(win, pattern, option)
pattern = "<#{pattern}>"
itemconfigure(['notify', [win, pattern]], option)
end
notify_configinfo(win, pattern, slot=nil)
click to toggle source
def notify_configinfo(win, pattern, slot=nil)
pattern = "<#{pattern}>"
itemconfiginfo(['notify', [win, pattern]], slot)
end
style_cget(tagOrId, option)
click to toggle source
def style_cget(tagOrId, option)
itemcget(['style', tagOrId], option)
end
style_configinfo(tagOrId, slot=nil)
click to toggle source
def style_configinfo(tagOrId, slot=nil)
itemconfiginfo(['style', tagOrId], slot)
end
tagid(mixed_id)
click to toggle source
def tagid(mixed_id)
if mixed_id == 'debug'
['debug', None]
elsif mixed_id == 'dragimage'
['dragimage', None]
elsif mixed_id == 'marquee'
['marquee', None]
elsif mixed_id.kind_of?(Array)
[mixed_id[0], treectrl_tagid(*mixed_id)]
else
tagid(mixed_id.split(':'))
end
end
treectrl_tagid(key, obj)
click to toggle source
def treectrl_tagid(key, obj)
if key.kind_of?(Array)
key = key.join(' ')
else
key = key.to_s
end
if (obj.kind_of?(Tk::TreeCtrl::Column) ||
obj.kind_of?(Tk::TreeCtrl::Element) ||
obj.kind_of?(Tk::TreeCtrl::Item) ||
obj.kind_of?(Tk::TreeCtrl::Style))
obj = obj.id
end
case key
when 'column'
obj
when 'debug'
None
when 'dragimage'
None
when 'element'
obj
when 'item element'
obj
when 'marquee'
None
when 'notify'
obj
when 'style'
obj
else
obj
end
end