Class
PurpleSavedPresence
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.
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.
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.
since: 3.0
purple_saved_presence_matches
Checks if needle
matches the PurpleSavedPresence:name
,
PurpleSavedPresence:message
, or PurpleSavedPresence:emoji
of
presence
.
since: 3.0
purple_saved_presence_set_emoji
Sets the emoji of presence
to emoji
. If emoji
is NULL
, the emoji will be cleared.
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.
since: 3.0
purple_saved_presence_set_message
Sets the message of presence
to message
. If message
is NULL
the message
is cleared.
since: 3.0
purple_saved_presence_set_name
Sets the name of presence
to name
. If name
is NULL
the name will be cleared.
since: 3.0
purple_saved_presence_set_primitive
Sets the PurplePresencePrimitive
of presence
to primitive
.
since: 3.0
purple_saved_presence_set_use_count
Sets the number of times presence
has been used to use_count
.
since: 3.0
Properties
Purple.SavedPresence:id
The identifier of the saved presence. If not specified, one will be randomly generated.
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.
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.