Class
PurpleSavedPresence
unstable since: 3.0
Description [src]
final class Purple.SavedPresence : GObject.Object
{
/* No available fields */
}
A data structure used to save a presence.
Available since: 3.0
Instance methods
purple_saved_presence_equal
Checks if a
is equal to b
. This is done by checking each property for equality.
unstable since: 3.0
purple_saved_presence_get_escaped_name
Gets the escaped version of PurpleSavedPresence:name
of presence
. The
escaped name is suitable for serialization.
unstable since: 3.0
purple_saved_presence_get_id
Gets the identifier for presence
. If an identifier was not specified when
presence
was created a random one will have been generated.
unstable since: 3.0
purple_saved_presence_get_last_used
Gets the GDateTime
that presence
was last used.
unstable since: 3.0
purple_saved_presence_get_primitive
Gets the PurplePresencePrimitive
for presence
.
unstable since: 3.0
purple_saved_presence_get_use_count
Gets the number of times presence
has been used.
unstable since: 3.0
purple_saved_presence_matches
Checks if needle
matches the PurpleSavedPresence:name
,
PurpleSavedPresence:message
, or PurpleSavedPresence:emoji
of
presence
.
unstable since: 3.0
purple_saved_presence_set_emoji
Sets the emoji of presence
to emoji
. If emoji
is NULL
, the emoji will be cleared.
unstable since: 3.0
purple_saved_presence_set_last_used
Sets the last time presence
was used to last_used
. If last_used
is NULL
,
the time will be cleared.
unstable since: 3.0
purple_saved_presence_set_message
Sets the message of presence
to message
. If message
is NULL
the message
is cleared.
unstable since: 3.0
purple_saved_presence_set_name
Sets the name of presence
to name
. If name
is NULL
the name will be cleared.
unstable since: 3.0
purple_saved_presence_set_primitive
Sets the PurplePresencePrimitive
of presence
to primitive
.
unstable since: 3.0
purple_saved_presence_set_use_count
Sets the number of times presence
has been used to use_count
.
unstable since: 3.0
Properties
Purple.SavedPresence:id
The identifier of the saved presence. If not specified, one will be randomly generated.
unstable since: 3.0
Purple.SavedPresence:last-used
The GDateTime
when this saved presence was last used.
unstable since: 3.0
Purple.SavedPresence:primitive
The PurplePresencePrimitive
for this saved presence.
unstable since: 3.0
Purple.SavedPresence:settings
The GSettings
for this saved presence. This settings object
is typically created by PurplePresenceManager and is expecting the
im.pidgin.Purple.SavedPresence schema.
unstable since: 3.0
Purple.SavedPresence:use-count
The number of times this saved presence has been used.
unstable since: 3.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.