Function
Purplerequest_folder
Declaration [src]
void*
purple_request_folder (
void* handle,
const char* title,
const char* dirname,
GCallback ok_cb,
GCallback cancel_cb,
PurpleRequestCommonParameters* cpar,
void* user_data
)
Parameters
handle
-
Type:
void*
The plugin or connection handle. For some things this is
extremely important. See the comments on purple_request_input().The argument can be NULL
.The data is owned by the caller of the function. title
-
Type:
const char*
The title of the message, or
NULL
if it should have no title.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. dirname
-
Type:
const char*
The default directory name (may be
NULL
).The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ok_cb
-
Type:
GCallback
The callback for the
OK button. cancel_cb
-
Type:
GCallback
The callback for the
Cancel button, which may beNULL
. cpar
-
Type:
PurpleRequestCommonParameters
The
PurpleRequestCommonParameters
object, which gets unref’ed after this call.The data is owned by the caller of the function. user_data
-
Type:
void*
The data to pass to the callback.
The argument can be NULL
.The data is owned by the caller of the function.