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,
    PurpleRequestFields* fields,
    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 PurpleRequestFeatures.

request_input No description available.
request_choice No description available.
request_action No description available.
request_wait No description available.
request_wait_update No description available.
request_fields No description available.
request_file No description available.
request_folder No description available.
close_request No description available.
_purple_reserved1 No description available.
_purple_reserved2 No description available.
_purple_reserved3 No description available.
_purple_reserved4 No description available.