set_locked


Description:

public void set_locked (bool locked)

Sets whether this is locked.

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

Parameters:

this

a lapel

locked

the new value