Function Macro
Purplerequest_accept_cancel
Declaration [src]
#define purple_request_accept_cancel (
handle,
title,
primary,
secondary,
default_action,
cpar,
user_data,
accept_cb,
cancel_cb
)
Description [src]
A wrapper for purple_request_action()
that uses Accept and Cancel buttons.
This function is not directly available to language bindings.
Parameters
handle
-
Type:
-
The handle, as supplied as the
handle
parameter to one of thepurple_request_* functions. title
-
Type:
-
The title of the message, or
NULL
if it should have no title. primary
-
Type:
-
The main point of the message, or
NULL
if you’re feeling enigmatic. secondary
-
Type:
-
Secondary information, or
NULL
if there is none. default_action
-
Type:
-
The default action, zero-indexed; if the third action supplied should be the default, supply
2 . This should be the action that users are most likely to select. cpar
-
Type:
-
The
PurpleRequestCommonParameters
object, which gets unref’ed after this call. user_data
-
Type:
-
The data to pass to the callback.
accept_cb
-
Type:
-
A
PurpleRequestActionCb
to call when accepted is selected. cancel_cb
-
Type:
-
A
PurpleRequestActionCb
to call when cancel is selected.