set_locked


Description:

public void set_locked (bool locked)

Sets whether this is locked.

If `FALSE`, folding this 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:

this

a flap

locked

the new value




2022 vala-language.org