Function

Purplerequest_wait

since: 3.0

Declaration [src]

void*
purple_request_wait (
  void* handle,
  const char* title,
  const char* primary,
  const char* secondary,
  gboolean with_progress,
  PurpleRequestCancelCb cancel_cb,
  PurpleRequestCommonParameters* cpar,
  void* user_data
)

Description [src]

Displays a “please wait” dialog.

Available since: 3.0

Parameters

handle

Type: void*

The plugin or connection handle. For some things this is extremely important. See the comments on purple_request_input().

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

Type: const char*

The title of the message, or NULL if it should have default title.

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

Type: const char*

The main point of the message, or NULL if you’re feeling enigmatic.

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

Type: const char*

Secondary information, or NULL if there is none.

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

Type: gboolean

TRUE, if we want to display progress bar, FALSE otherwise.

cancel_cb

Type: PurpleRequestCancelCb

The callback for the Cancel button, which may be NULL.

cpar

Type: PurpleRequestCommonParameters

The PurpleRequestCommonParameters object, which gets unref’ed after this call.

The data is owned by the caller of the function.
user_data

Type: void*

The data to pass to the callback.

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

Return value

Type: void*

A UI-specific handle.

The data is owned by the called function.
The return value can be NULL.