set_modal


Description:

public void set_modal (bool modal)

Sets whether the this can be closed with a click.

If modal is `TRUE`, clicking the content widget while flap is revealed, or pressing the <kbd>Esc</kbd> key, will close the flap. If `FALSE`, clicks are passed through to the content widget.

Parameters:

this

a flap

modal

whether this can be closed with a click