Function

Purplenotify_searchresults_button_add

since: 2.0

Declaration [src]

void
purple_notify_searchresults_button_add (
  PurpleNotifySearchResults* results,
  PurpleNotifySearchButtonType type,
  PurpleNotifySearchResultsCallback cb
)

Description [src]

Adds a stock 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.
type

Type: PurpleNotifySearchButtonType

Type of the button. (TODO: Only one button of a given type can be displayed.)

cb

Type: PurpleNotifySearchResultsCallback

Function that will be called on the click event.