setLocked

fun setLocked(locked: Boolean)

Sets whether @self is locked.

If FALSE, folding when the flap is revealed automatically closes it, and unfolding it when the flap is not revealed opens it. If TRUE, property@Flap:reveal-flap value never changes on its own.

Parameters

locked

the new value