Method

PurpleUirequest_page_async

unstable since: 3.0

Declaration [src]

void
purple_ui_request_page_async (
  PurpleUi* ui,
  PurpleRequestPage* page,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Ask the UI to create a request page for the user and return its result asynchronously.

Available since: 3.0

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

Parameters

page

Type: PurpleRequestPage

The request page.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

An optional cancellable.

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

Type: GAsyncReadyCallback

A callback to call with the results.

The argument can be NULL.
data

Type: gpointer

The user data to pass to the callback.

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