Function
Pidginstatus_menu
Declaration [src]
GtkWidget*
pidgin_status_menu (
PurpleSavedStatus* status,
GCallback callback
)
Description [src]
Creates a dropdown menu of saved statuses and calls a callback when one is selected.
Parameters
status |
PurpleSavedStatus |
The default saved_status to show as ‘selected’ |
|
The data is owned by the caller of the function. | |
callback |
GCallback |
The callback to call when the selection changes. |
Return value
Returns: | GtkWidget |
The menu widget. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |