Panel.Grid.agree_to_close_async

### Method

# Panel Gridagree_to_close_async

#### Declaration [src]

    void
    panel_grid_agree_to_close_async (
      PanelGrid* self,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Request to close, asynchronously. This will display the save dialog.

This method completes asynchronously. Use `panel_grid_agree_to_close_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`cancellable`

  Type: `GCancellable`

  No description available.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  callback called when ready.

`user_data`

  Type: `gpointer`

  Data to pass to `callback`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.