Interface

PurpleProtocolActions

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 from PurpleProtocol.

Instance methods

purple_protocol_actions_get_action_group

Gets a group of actions for connection.

Available since: 3.0.0

purple_protocol_actions_get_menu

Gets the menu used to display the protocol actions.

Available since: 3.0.0

purple_protocol_actions_get_prefix

The prefix that should be used when inserting the action group into widgets.

Available 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
  );
  
}
Interface members
get_prefix
const gchar* (* get_prefix) (
    PurpleProtocolActions* actions
  )
 No description available.
get_action_group
GActionGroup* (* get_action_group) (
    PurpleProtocolActions* actions,
    PurpleConnection* connection
  )
 No description available.
get_menu
GMenu* (* get_menu) (
    PurpleProtocolActions* actions
  )
 No description available.

Virtual methods

Purple.ProtocolActions.get_action_group

Gets a group of actions for connection.

Purple.ProtocolActions.get_menu

Gets the menu used to display the protocol actions.

Purple.ProtocolActions.get_prefix

The prefix that should be used when inserting the action group into widgets.