Class
PurpleTags
Description [src]
final class Purple.Tags : GObject.Object {
/* No available fields */
}
Tags is an object that can be used to keep track of arbitrary tags on
objects. Tags are simple strings that use the first ‘:’ to delimit a value.
For example: foo
is a tag with just a name and no value, but foo:bar
is
a tag with a name and value. Please note this distinction when the API calls
for a name versus a tag which would be the name and the value.
Available since: | 3.0.0 |
Instance methods
purple_tags_add
Adds tag
to tags
. If the tag already exists, the existing tag will be replaced.
Available since: 3.0.0
purple_tags_add_with_value
Formats name
and value
into a tag and adds it to tags
. If the tag already
exists, the existing tag will be replaced.
Available since: 3.0.0
purple_tags_remove
Removes the first occurrence of tag
from tags
. Note that this is the tag
name and value not just the name.
Available since: 3.0.0
purple_tags_to_string
Creates a separator
delimited string containing each item in tags
.
Available since: 3.0.0
Signals
Signals inherited from GObject (1)
GObject.Object::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.