Struct
PurpleProtocolAction
Description [src]
struct PurpleProtocolAction {
gchar* label;
PurpleProtocolActionCallback callback;
PurpleConnection* connection;
gpointer user_data;
}
Represents an action that the protocol can perform. This shows up in the Accounts menu, under a submenu with the name of the account.
Structure members
label
A translated string to be shown in a user interface.
callback
The function to call when the user wants to perform this action.
connection
The connection that this action should be performed against.
user_data
User data to pass to
callback
.
Constructors
purple_protocol_action_new
Allocates and returns a new PurpleProtocolAction. Use this to add actions in a list in the get_actions function of the protocol.
since: 3.0