Virtual Method

PurpleUiopen_uri

unstable since: 3.0

Declaration [src]

void
open_uri (
  PurpleUi* ui,
  const char* uri,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Attempts to open uri and calls callback with the result.

Available since: 3.0

Parameters

uri

Type: const char*

The uri to open.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
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.

data

Type: gpointer

User data to pass to callback.

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