Struct
PurpleRequestUiOps
Description [src]
struct PurpleRequestUiOps {
PurpleRequestFeature features;
void* (* request_input) (
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
);
void* (* request_choice) (
const char* title,
const char* primary,
const char* secondary,
gpointer default_value,
const char* ok_text,
GCallback ok_cb,
const char* cancel_text,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data,
va_list choices
);
void* (* request_action) (
const char* title,
const char* primary,
const char* secondary,
int default_action,
PurpleRequestCommonParameters* cpar,
void* user_data,
size_t action_count,
va_list actions
);
void* (* request_wait) (
const char* title,
const char* primary,
const char* secondary,
gboolean with_progress,
PurpleRequestCancelCb cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
);
void (* request_wait_update) (
void* ui_handle,
gboolean animate,
gfloat fraction
);
void* (* request_fields) (
const char* title,
const char* primary,
const char* secondary,
PurpleRequestPage* page,
const char* ok_text,
GCallback ok_cb,
const char* cancel_text,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
);
void* (* request_file) (
const char* title,
const char* filename,
gboolean savedialog,
GCallback ok_cb,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
);
void* (* request_folder) (
const char* title,
const char* dirname,
GCallback ok_cb,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
);
void (* close_request) (
PurpleRequestType type,
void* ui_handle
);
void (* _purple_reserved1) (
void
);
void (* _purple_reserved2) (
void
);
void (* _purple_reserved3) (
void
);
void (* _purple_reserved4) (
void
);
}
Request UI operations.
Structure members
features
A bitwise or of
PurpleRequestFeature
‘s.request_input
See purple_request_input().
request_choice
See purple_request_choice_varg().
request_action
See purple_request_action_varg().
request_wait
See purple_request_wait().
request_wait_update
See purple_request_wait_pulse(), purple_request_wait_progress().
request_fields
See purple_request_fields().
request_file
See purple_request_file().
request_folder
See purple_request_folder().
close_request
See purple_request_close().
_purple_reserved1
No description available.
_purple_reserved2
No description available.
_purple_reserved3
No description available.
_purple_reserved4
No description available.