above(target)
click to toggle source
all()
click to toggle source
below(target)
click to toggle source
closest(x, y, halo=None, start=None)
click to toggle source
delete()
click to toggle source
def delete
@c.delete @id
CTagID_TBL.mutex.synchronize{
CTagID_TBL[@cpath].delete(@id) if CTagID_TBL[@cpath]
}
self
end
destroy()
click to toggle source
enclosed(x1, y1, x2, y2)
click to toggle source
exist?()
click to toggle source
def exist?
if @c.find_withtag(@id)
true
else
false
end
end
id()
click to toggle source
mutex()
click to toggle source
overlapping(x1, y1, x2, y2)
click to toggle source
remove()
click to toggle source
set_to_above(target)
click to toggle source
def set_to_above(target)
@c.addtag_above(@id, target)
self
end
set_to_all()
click to toggle source
def set_to_all
@c.addtag_all(@id)
self
end
set_to_below(target)
click to toggle source
def set_to_below(target)
@c.addtag_below(@id, target)
self
end
set_to_closest(x, y, halo=None, start=None)
click to toggle source
def set_to_closest(x, y, halo=None, start=None)
@c.addtag_closest(@id, x, y, halo, start)
self
end
set_to_enclosed(x1, y1, x2, y2)
click to toggle source
def set_to_enclosed(x1, y1, x2, y2)
@c.addtag_enclosed(@id, x1, y1, x2, y2)
self
end
set_to_overlapping(x1, y1, x2, y2)
click to toggle source
def set_to_overlapping(x1, y1, x2, y2)
@c.addtag_overlapping(@id, x1, y1, x2, y2)
self
end
set_to_withtag(target)
click to toggle source
def set_to_withtag(target)
@c.addtag_withtag(@id, target)
self
end
withtag(target)
click to toggle source