Class

PidginMessage

Description [src]

final class Pidgin.Message : GObject.Object {
  /* No available fields */
}

PidginMessage maps a PurpleMessage to a TalkatuMessage.

Available since:3.0.0

Ancestors

Implements

Constructors

pidgin_message_new

Wraps msg so that it can be used as a TalkatuMessage.

Instance methods

pidgin_message_get_message

Gets the PurpleMessage that msg is wrapping.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from TalkatuMessage (19)
talkatu_message_add_attachment

Adds attachment to message.

talkatu_message_clear_attachments

Removes all attachments from message.

talkatu_message_foreach_attachment

Calls func for each TalkatuAttachment that’s attached to message.

talkatu_message_get_attachment

Retrieves the TalkatuAttachment identified by id from message.

talkatu_message_get_author

Gets the author of message.

talkatu_message_get_author_name_color

Gets a GdkRGBA that the author’s name will be rendered with or NULL if no color is set.

talkatu_message_get_content_type

Gets the content-type of message.

talkatu_message_get_contents

Gets the contents of message.

talkatu_message_get_edited

Gets whether message has been edited by its author.

talkatu_message_get_id

Gets the identifier of the message.

talkatu_message_get_timestamp

Gets the timestamp for when this message was created.

talkatu_message_remove_attachment

Removes the TalkatuAttachment identified by id if it exists.

talkatu_message_set_author

Sets the author of message to author.

talkatu_message_set_author_name_color

Sets the color for the name of the author of message to color. Calling this with color set to NULL will unset a previously set color.

talkatu_message_set_content_type

Sets the content type of message to content_type.

talkatu_message_set_contents

Sets the contents of message to contents.

talkatu_message_set_edited

Sets whether message has been edited or not.

talkatu_message_set_id

Sets the identifier of message.

talkatu_message_set_timestamp

Sets the creation timestamp for message to timestamp.

Properties

Pidgin.Message:message
No description available.
Properties inherited from TalkatuMessage (7)
Talkatu.Message:author
No description available.
Talkatu.Message:author-name-color
No description available.
Talkatu.Message:content-type
No description available.
Talkatu.Message:contents
No description available.
Talkatu.Message:edited
No description available.
Talkatu.Message:id
No description available.
Talkatu.Message:timestamp
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.

Class structure

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