Connection Signals

Signals:

See Also
connection.h

signing-on

void (*signing_on)(PurpleConnection *gc);
Description:
Emitted when a connection is about to sign on.
Parameters
gcThe connection that is about to sign on.

signed-on

void (*signed_on)(PurpleConnection *gc);
Description:
Emitted when a connection has signed on.
Parameters
gcThe connection that has signed on.

autojoin

gboolean (*autojoin)(PurpleConnection *gc);
Description:
Emitted when a connection has signed on, after the signed-on signal, to signal UIs to autojoin chats if they wish. UIs should connect to this with PURPLE_SIGNAL_PRIORITY_HIGHEST to allow plugins to block this signal before the UI sees it and then re-emit it later.
Parameters
gcThe connection that has signed on.
Returns
TRUE if the signal was handled or FALSE otherwise. In practice, the return value is irrelevant, as it really only exists so plugins can block the UI's autojoin.
Since
2.7.0

signing-off

void (*signing_off)(PurpleConnection *gc);
Description:
Emitted when a connection is about to sign off.
Parameters
gcThe connection that is about to sign off.

signed-off

void (*signed_off)(PurpleConnection *gc);
Description:
Emitted when a connection has signed off.
Parameters
gcThe connection that has signed off.

connection-error

void (*connection_error)(PurpleConnection *gc, PurpleConnectionError err, const gchar *desc)
Description:
Emitted when a connection error occurs, before signed-off.
Parameters
gcThe connection on which the error has occurred
errThe error that occurred
descA description of the error, giving more information.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!