RefProperty
Constructor
Ref <id> (Component value)
Creates a new property encapsulating a refence to a process. The parameter sets the initial value.
Action
NonePredefined children
None.Example
use core
use display
use gui
import gui.interactors.SimpleDrag
_main_
Component root {
Frame f ("myFrame", 0, 0, 400, 400)
FillColor fc (#FF00FF)
Rectangle r (200, 200, 100, 100, 0, 0)
Ref toDrag (r)
SimpleDrag _ (toDrag, f)
}