Function Macro

Purplerequest_yes_no

Declaration [src]

#define purple_request_yes_no (
  handle,
  title,
  primary,
  secondary,
  default_action,
  cpar,
  user_data,
  yes_cb,
  no_cb
)

Description [src]

A wrapper for purple_request_action() that uses Yes and No buttons.

This function is not directly available to language bindings

Parameters

handle -
 

The handle, as supplied as the handle parameter to one of the purple_request_* functions.

title -
 

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

primary -
 

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

secondary -
 

Secondary information, or NULL if there is none.

default_action -
 

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 -
 

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

user_data -
 

The data to pass to the callback.

yes_cb -
 

A PurpleRequestActionCb to call when yes is selected.

no_cb -
 

A PurpleRequestActionCb to call when no is selected.