Method

PurpleProtocolContactsget_action_menu

unstable since: 3.0

Declaration [src]

BirbActionMenu*
purple_protocol_contacts_get_action_menu (
  PurpleProtocolContacts* protocol,
  PurpleContact* contact
)

Description [src]

Gets an action menu for a contact.

An action menu is a list of actions that can be performed on the contact.

Available since: 3.0

Parameters

contact

Type: PurpleContact

The contact whose action menu to get.

The data is owned by the caller of the method.

Return value

Type: BirbActionMenu

The action menu.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.