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

Ancestors

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_emoji

Gets the emoji for presence.

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_get_last_used

Gets the GDateTime that presence was last used.

since: 3.0

purple_saved_presence_get_message

Gets the message of presence.

since: 3.0

purple_saved_presence_get_name

Gets the name of presence.

since: 3.0

purple_saved_presence_get_primitive

Gets the PurplePresencePrimitive for presence.

since: 3.0

purple_saved_presence_get_use_count

Gets the number of times presence has been used.

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

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.SavedPresence:emoji

The emoji or mood of the presence.

since: 3.0

Purple.SavedPresence:id

The identifier of the saved presence. If not specified, one will be randomly generated.

since: 3.0

Purple.SavedPresence:last-used

The GDateTime when this saved presence was last used.

since: 3.0

Purple.SavedPresence:message

The status message of this saved presence.

since: 3.0

Purple.SavedPresence:name

The name of the saved presence.

since: 3.0

Purple.SavedPresence:primitive

The PurplePresencePrimitive for this saved presence.

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

Purple.SavedPresence:use-count

The number of times this saved presence has been used.

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.

Class structure

struct PurpleSavedPresenceClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.