::tycho::Interactor
-
Source File -
Contents:
public methods
- public variables
- protected methods
- protected variable
Currently, selected items are highlighted by drawing a rectangle around them -- later this might be made more sophisticated.
clear
contents
highlight
tag
selected
id
tag
-dragmode
overlapping
-dragcolor
grey
-deselectcommand
-highlightcolor
cyan
-highlightwidth
2
-selectcommand
-movepredicate
activate
t x y args
bind
is made.):
-toggle
: the given options cause items to toggle in and out
of the selected set.
click
x y args
Note that the drag and altdrag modes are used only if this selector is a proxy of another mouse follower of some kind. (Sorry if this is obscure, I'll try to explain it better later.).
deselect
id
drag
x y
deactivate
args
release
select
id
If directly doing things with objects, you have to take care that
highlights are operated on too. The safest approach is to clear the
selection. If you don't want to do that, use the highlight
method
to get an item or tag that represents the actual highlight items.
Note: Do not call this method if the item is already selected! Use
the selected
method to test if necessary.
inhibit
0