Function
Purplerequest_input
Declaration [src]
void*
purple_request_input (
void* handle,
const char* title,
const char* primary,
const char* secondary,
const char* default_value,
gboolean multiline,
gboolean masked,
gchar* hint,
const char* ok_text,
GCallback ok_cb,
const char* cancel_text,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
)
Parameters
handle |
void* |
The plugin or connection handle. For some
things this is |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
title |
const char* |
The title of the message, or |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
primary |
const char* |
The main point of the message, or |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
secondary |
const char* |
Secondary information, or |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
default_value |
const char* |
The default value. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
multiline |
gboolean |
|
|
masked |
gboolean |
|
|
hint |
gchar* |
Optionally suggest how the input box should appear. Use “html”, for example, to allow the user to enter HTML. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
ok_text |
const char* |
The text for the |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
ok_cb |
GCallback |
The callback for the |
|
cancel_text |
const char* |
The text for the |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
cancel_cb |
GCallback |
The callback for the |
|
cpar |
PurpleRequestCommonParameters |
The |
|
The data is owned by the caller of the function. | |
user_data |
void* |
The data to pass to the callback. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |