EBook.BookClientCursor.set_sexp

### Method

# EBook BookClientCursorset_sexp

since: 3.12

#### Declaration [src]

    void
    e_book_client_cursor_set_sexp (
      EBookClientCursor* cursor,
      const gchar* sexp,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Sets the Search Expression for the cursor.

See: e_book_client_cursor_set_sexp_sync().

This asynchronous call is completed with a call to `e_book_client_cursor_set_sexp_finish()` from the specified `callback`.

Available since: 3.12

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

#### Parameters

`sexp`

  Type: `const gchar*`

  The new search expression for `cursor`.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`cancellable`

  Type: `GCancellable`

  A `GCancellable` to optionally cancel this operation while in progress.

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

`callback`

  Type: `GAsyncReadyCallback`

  Callback to call when a result is ready.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  User data for the `callback`.

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