Function

Purplenotify_searchresults_button_add

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.

This function is not directly available to language bindings

Parameters

results PurpleNotifySearchResults
 

The search results object.

 The data is owned by the caller of the function.
type PurpleNotifySearchButtonType
 

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

cb PurpleNotifySearchResultsCallback
 

Function that will be called on the click event.