Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > tk/canvastagライブラリ > TkcTagAccessモジュール
module TkcTagAccess
クラスの継承リスト: TkcTagAccess < TkComm < TkUtil < TkEvent < TkTreatTagFont
Abstract
インスタンスメソッド
self & tag-
Following operators support logical expressions of canvas tags (for Tk8.3+). If tag1.path is 't1' and tag2.path is 't2', then
ltag = tag1 & tag2; ltag.path => "(t1)&&(t2)" ltag = tag1 | tag2; ltag.path => "(t1)||(t2)" ltag = tag1 ^ tag2; ltag.path => "(t1)^(t2)" ltag = - tag1; ltag.path => "!(t1)"
-self ^ tagaddtag(tag)bboxbind(seq, *args)-
def bind(seq, cmd=Proc.new, *args) @c.itembind(@id, seq, cmd, *args) self end
bind_append(seq, *args)-
def bind_append(seq, cmd=Proc.new, *args) @c.itembind_append(@id, seq, cmd, *args) self end
bind_remove(seq)bindinfo(seq = nil)cget(option)configinfo(key = nil)-
def configure(keys) @c.itemconfigure @id, keys end
configure(key, value = Tk::None)coords(*args)current_configinfo(key = nil)dchars(first, last = Tk::None)dtag(tag_to_del = Tk::None)deltag(tag_to_del = Tk::None)findlistfocusgettagsicursor(index)index(idx)insert(beforethis, string)itemtypelower(belowthis = Tk::None)move(xamount, yamount)raise(abovethis = Tk::None)scale(xorigin, yorigin, xscale, yscale)select_adjust(index)select_from(index)select_to(index)self | tag