Methods
- A
- B
- C
- D
- F
- G
- I
- J
- L
- M
- N
- P
- R
- S
- X
- Y
Included Modules
Constants
TkCommandNames | = | ['::iwidgets::scrolledcanvas'.freeze].freeze |
WidgetClassName | = | 'Scrolledcanvas'.freeze |
Class Public methods
new(*args)
Link
Instance Public methods
addtag(tag, mode, *args)
Link
addtag_above(tagOrId, target)
Link
addtag_all(tagOrId)
Link
addtag_below(tagOrId, target)
Link
addtag_closest(tagOrId, x, y, halo=None, start=None)
Link
addtag_enclosed(tagOrId, x1, y1, x2, y2)
Link
addtag_overlapping(tagOrId, x1, y1, x2, y2)
Link
addtag_withtag(tagOrId, tag)
Link
bbox(tagOrId, *tags)
Link
canvasx(screen_x, *args)
Link
canvasy(screen_y, *args)
Link
child_site()
Link
coords(tag, *args)
Link
create(type, *args)
Link
create a canvas item without creating a TkcItem object
dchars(tag, first, last=None)
Link
delete(*args)
Link
Also aliased as: remove
# File ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, line 173 def delete(*args) tbl = nil TkcItem::CItemID_TBL.mutex.synchronize{ tbl = TkcItem::CItemID_TBL[self.path] } if tbl find('withtag', *args).each{|item| if item.kind_of?(TkcItem) TkcItem::CItemID_TBL.mutex.synchronize{ tbl.delete(item.id) } end } end tk_send_without_enc('delete', *args.collect{|t| tagid(t)}) self end
dtag(tag, tag_to_del=None)
Link
find(mode, *args)
Link
find_above(target)
Link
find_all()
Link
find_below(target)
Link
find_closest(x, y, halo=None, start=None)
Link
find_enclosed(x1, y1, x2, y2)
Link
find_overlapping(x1, y1, x2, y2)
Link
find_withtag(tag)
Link
icursor(tagOrId, index)
Link
index(tagOrId, idx)
Link
insert(tagOrId, index, string)
Link
itembind(tag, context, *args)
Link
def itembind(tag, context, cmd=Proc.new, *args)
_bind([path, "bind", tagid(tag)], context, cmd, *args)
self
end
# File ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, line 114 def itembind(tag, context, *args) # if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end _bind([path, "bind", tagid(tag)], context, cmd, *args) self end
itembind_append(tag, context, *args)
Link
def #itembind_append(tag, context, cmd=Proc.new, *args)
_bind_append([path, "bind", tagid(tag)], context, cmd, *args)
self
end
# File ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, line 129 def itembind_append(tag, context, *args) # if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end _bind_append([path, "bind", tagid(tag)], context, cmd, *args) self end
itembind_remove(tag, context)
Link
itembindinfo(tag, context=nil)
Link
itemfocus(tagOrId=nil)
Link
itemtype(tag)
Link
justify(dir)
Link
lower(tag, below=nil)
Link
method_missing(id, *args)
Link
move(tag, x, y)
Link
postscript(keys)
Link
raise(tag, above=nil)
Link
scale(tag, x, y, xs, ys)
Link
scan_dragto(x, y)
Link
scan_mark(x, y)
Link
select(mode, *args)
Link
select_adjust(tagOrId, index)
Link
select_clear()
Link
select_from(tagOrId, index)
Link
select_item()
Link
select_to(tagOrId, index)
Link
xview(*index)
Link
xview_moveto(*index)
Link
xview_scroll(*index)
Link
yview(*index)
Link
yview_moveto(*index)
Link