Signal

PurpleContactInfo::presence-changed

unstable since: 3.0

Declaration

void
presence_changed (
  PurpleContactInfo* self,
  PurplePresence* presence,
  GObject.ParamSpec* pspec,
  gpointer user_data
)

Description [src]

This is a propagation of the notify signal from presence. This means that your callback will be called when anything in the presence changes.

This also supports details, so you can specify the signal name as something like presence-changed::message and your callback will only be called when the message property of presence has been changed.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

The signal can be detailed
Available since: 3.0

Parameters

presence

Type: PurplePresence

The presence that was changed.

The data is owned by the caller of the function.
pspec

Type: GParamSpec

The GParamSpec for the property that changed.

The data is owned by the caller of the function.