A handle object
describes a possible end-point for a connection
object between two graphical
objects. A handle consists of two expression objects in w
and h of the graphical that determine the X and Y positions
of the handle.
The handle<-kind
of handle determines which connections may attach to this handle. It's
value should match link<-from
or link<-to,
depending on which end of the connection is considered.
Finally, a handle also has a name to identify it. Note that the total
set of handles associated with any graphical
object is the merge of
graphical<-handles
and class<-handles
of the graphicals’class.
See also example Linking Graphicals, class connection,
class link, class connect_gesture
and graphical->connect.
Bugs: There are no possibilities to visualise the presence of handles.
<-from
or link<-to
(depending on the side of the connection concerned) matches this name.w and h
of the graphical
object the handle belongs too. Legal expressions are:
w and h are converted to var
objects with this name.
30 30 pixels w/2 half of the graphical <-width.h+10 ten more than the graphical <-height.
-x_position
w and h
variable of the area they are attached to. The first name is the handle<->kind
attribute which determines the category the handle belongs to. The
second name is the
handle<->name
attribute that determines the logical name of the handle.
Defaults: The default kind is link.
The name defaults to the kind.
<-device
is used.