set_target


Description:

public bool set_target (Pad? newtarget)

Set the new target of the ghostpad this.

Any existing target is unlinked and links to the new target are established. if newtarget is null the target will be cleared.

Parameters:

this

the GhostPad

newtarget

the new pad target

Returns:

true if the new target could be set. This function can return false when the internal pads could not be linked.