Element.setLockedState

Locks the state of an element, so state changes of the parent don't affect this element anymore.

MT safe.

class Element
bool
setLockedState

Parameters

lockedState bool

%TRUE to lock the element's state

Return Value

Type: bool

%TRUE if the state was changed, %FALSE if bad parameters were given or the elements state-locking needed no change.

Meta