Method

PurplePresenceset_idle

since: 2.0

Declaration [src]

void
purple_presence_set_idle (
  PurplePresence* presence,
  gboolean idle,
  GDateTime* idle_time
)

Description [src]

Sets the idle state and time of presence.

Available since: 2.0

Sets propertyPurple.Presence:idle

Parameters

idle

Type: gboolean

The idle state.

idle_time

Type: GDateTime

The idle time, if idle is TRUE. This is the time at which the user became idle. If this value is unknown then NULL should be used.

The data is owned by the caller of the function.