Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > tk/canvastagライブラリ > TkcTagクラス

class TkcTag + TkcTagAccess

クラスの継承リスト: TkcTag < TkcTagAccess < TkComm < TkUtil < TkEvent < TkTreatTagFont < TkObject < Tk < TkCore < TkComm < TkUtil < TkEvent < TkConfigMethod < TkUtil < TkTreatFont < TkBindCore < TkKernel < Object < Kernel < BasicObject

要約

特異メソッド

id2obj(canvas, id)

[TODO]

new(parent, mode = nil, *args)

[TODO]

インスタンスメソッド

self & tag

[TODO]

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)"
-

[TODO]

self ^ tag

[TODO]

set_to_above(target)
above(target)

[TODO]

addtag(tag)

[TODO]

set_to_all
all

[TODO]

bbox

[TODO]

set_to_below(target)
below(target)

[TODO]

bind(seq, *args)

[TODO]

def bind(seq, cmd=Proc.new, *args)

  @c.itembind(@id, seq, cmd, *args)
  self

end
bind_append(seq, *args)

[TODO]

def bind_append(seq, cmd=Proc.new, *args)

  @c.itembind_append(@id, seq, cmd, *args)
  self

end
bind_remove(seq)

[TODO]

bindinfo(seq = nil)

[TODO]

cget(option)

[TODO]

set_to_closest(x, y, halo = Tk::None, start = Tk::None)
closest(x, y, halo = Tk::None, start = Tk::None)

[TODO]

configinfo(key = nil)

[TODO]

def configure(keys)

  @c.itemconfigure @id, keys

end
configure(key, value = Tk::None)

[TODO]

coords(*args)

[TODO]

current_configinfo(key = nil)

[TODO]

dchars(first, last = Tk::None)

[TODO]

delete
remove
destroy

[TODO]

dtag(tag_to_del = Tk::None)
deltag(tag_to_del = Tk::None)

[TODO]

set_to_enclosed(x1, y1, x2, y2)
enclosed(x1, y1, x2, y2)

[TODO]

exist?

[TODO]

find
list

[TODO]

focus

[TODO]

gettags

[TODO]

icursor(index)

[TODO]

id

[TODO]

index(idx)

[TODO]

insert(beforethis, string)

[TODO]

itemtype

[TODO]

lower(belowthis = Tk::None)

[TODO]

move(xamount, yamount)

[TODO]

set_to_overlapping(x1, y1, x2, y2)
overlapping(x1, y1, x2, y2)

[TODO]

raise(abovethis = Tk::None)

[TODO]

scale(xorigin, yorigin, xscale, yscale)

[TODO]

select_adjust(index)

[TODO]

select_from(index)

[TODO]

select_to(index)

[TODO]

set_to_withtag(target)
withtag(target)

[TODO]

self | tag

[TODO]

定数

CTagID_TBL

[TODO]

Tk_CanvasTag_ID

[TODO]

class TkcTag