Function
Pidginprefs_checkbox
Declaration [src]
GtkWidget*
pidgin_prefs_checkbox (
const char* title,
const char* key,
GtkWidget* page
)
Parameters
title |
const char* |
The text to be displayed as the checkbox label. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
key |
const char* |
The key of the purple bool pref that will be represented by the checkbox. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
page |
GtkWidget |
The page to which the new checkbox will be added. |
|
The data is owned by the caller of the function. |
Return value
Returns: | GtkWidget |
The new checkbox. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |