Function

Purplenotify_searchresults_button_add_labeled

since: 2.0

Declaration [src]

void
purple_notify_searchresults_button_add_labeled (
  PurpleNotifySearchResults* results,
  const char* label,
  PurpleNotifySearchResultsCallback cb
)

Description [src]

Adds a plain labelled button that will be displayed in the search results dialog.

Available since: 2.0

This function is not directly available to language bindings.

Parameters

results

Type: PurpleNotifySearchResults

The search results object.

The data is owned by the caller of the function.
label

Type: const char*

The label to display.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
cb

Type: PurpleNotifySearchResultsCallback

Function that will be called on the click event.