Interface
PurpleProtocolActions
since: 3.0.0
Description [src]
interface Purple.ProtocolActions : Purple.Protocol
The PurpleProtocolActions
interface defines the behavior of a protocol’s
actions interface.
Available since: 3.0.0
Prerequisite
In order to implement ProtocolActions, your type must inherit fromPurpleProtocol
.
Instance methods
purple_protocol_actions_changed
Emits the PurpleProtocolActions::actions-changed
signal. This is meant to
be called by PurpleProtocolActions
implementations when actions have changed.
since: 3.0.0
purple_protocol_actions_get_menu
Gets the menu used to display the protocol actions for connection
.
since: 3.0.0
purple_protocol_actions_get_prefix
The prefix that should be used when inserting the action group into widgets.
since: 3.0.0
Signals
Purple.ProtocolActions::actions-changed
A signal that is emitted to tell interested parties that the actions have changed.
since: 3.0.0
Interface structure
struct PurpleProtocolActionsInterface {
const gchar* (* get_prefix) (
PurpleProtocolActions* actions
);
GActionGroup* (* get_action_group) (
PurpleProtocolActions* actions,
PurpleConnection* connection
);
GMenu* (* get_menu) (
PurpleProtocolActions* actions,
PurpleConnection* connection
);
}
The protocol actions interface.
This interface provides a gateway between purple and the protocol.
Interface members
get_prefix |
|
No description available. | |
get_action_group |
|
No description available. | |
get_menu |
|
No description available. |
Virtual methods
Purple.ProtocolActions.get_menu
Gets the menu used to display the protocol actions for connection
.
since: 3.0.0
Purple.ProtocolActions.get_prefix
The prefix that should be used when inserting the action group into widgets.
since: 3.0.0