GhostPad.setTarget

Set the new target of the ghostpad gpad. Any existing target is unlinked and links to the new target are established. if newtarget is NULL the target will be cleared.

class GhostPad
int
setTarget

Parameters

newtarget Pad

the new pad target. [transfer none][allow-none]

Return Value

Type: int

TRUE if the new target could be set. This function can return FALSE when the internal pads could not be linked. [transfer full]

Meta