close


Description:

public bool close ()

Attempts to close this.

If the [property@Dialog:can-close] property is set to `FALSE`, the [signal@Dialog:AdapDialog:close-attempt] signal is emitted.

See also: [method@Dialog.force_close].

Parameters:

this

a dialog

Returns:

whether this was successfully closed