Class
PurpleAttachment
Description [src]
final class Purple.Attachment : GObject.Object {
/* No available fields */
}
PurpleAttachment
represents a file attached to a PurpleMessage
.
Constructors
purple_attachment_new
Creates a new PurpleAttachment
with the given id
and content_type
.
Available since: 3.0.0
Instance methods
purple_attachment_get_filename
Gets the base filename for attachment
. Remote URI will be checked before
local URI, but the basename of one of those is what will be returned.
Available since: 3.0.0
purple_attachment_get_hash_key
Gets the hash key of attachment
. This should only be used when
trying to address a PurpleAttachment
in a GHashTable
that is using
g_int64_hash()
as the key function.
Available since: 3.0.0
Properties
Purple.Attachment:content-type
No description available.
Purple.Attachment:id
No description available.
Purple.Attachment:local-uri
No description available.
Purple.Attachment:remote-uri
No description available.
Purple.Attachment:size
No description available.
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.