Adw.MessageDialog.choose_finish

### Method

# Adw MessageDialogchoose_finish

since: 1.3

#### Declaration [src]

    const char*
    adw_message_dialog_choose_finish (
      AdwMessageDialog* self,
      GAsyncResult* result
    )

#### Description [src]

Finishes the `adw_message_dialog_choose()` call and returns the response ID.

Available since: 1.3

#### Parameters

`result`

  Type: `GAsyncResult`

  A `GAsyncResult`

  The data is owned by the caller of the function.

#### Return value

Type: `const char*`

The ID of the response that was selected, or `AdwMessageDialog:close-response` if the call was cancelled.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.