# Adw.Dialog::close-attempt
Reference for signal Adw.Dialog::close-attempt

### Signal

# Adw Dialog::close-attempt

since: 1.5

#### Declaration

    void
    close_attempt (
      AdwDialog* self,
      gpointer user_data
    )

#### Description [src]

Emitted when the close button or shortcut is used, or `adw_dialog_close()` is called while `AdwDialog:can-close` is set to `FALSE`.

Default handler: The default handler is called after the handlers added via `g_signal_connect()`.
Available since: 1.5