Method
PurpleUiopen_uri
unstable since: 3.0
Declaration [src]
void
purple_ui_open_uri (
PurpleUi* ui,
const char* uri,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Attempts to open a URI.
Available since: 3.0
This method completes asynchronously. Use purple_ui_open_uri_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
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:
GCancellableAn optional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to call with the results.
The argument can be NULL. data-
Type:
gpointerThe user data to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.