Class

PurpleConversation

Description [src]

abstract class Purple.Conversation : GObject.Object {
  parent_instance: GObject
}

A core representation of a conversation between two or more people.

The conversation can be an IM or a chat.

Note: When a conversation is destroyed with the last g_object_unref(), the specified conversation is removed from the parent window. If this conversation is the only one contained in the parent window, that window is also destroyed.

Ancestors

Functions

purple_conversation_present_error

Presents an IM-error to the user.

Instance methods

purple_conversation_autoset_title

Automatically sets the specified conversation’s title.

purple_conversation_clear_message_history

Clear the message history of a conversation.

purple_conversation_do_command

Perform a command in a conversation. Similar to purple_cmd_do_command().

purple_conversation_get_account

Returns the specified conversation’s purple_account.

purple_conversation_get_connection

Returns the specified conversation’s purple_connection.

purple_conversation_get_extended_menu

Retrieves the extended menu items for the conversation.

purple_conversation_get_features

Get the features supported by the given conversation.

purple_conversation_get_max_message_size

Gets the maximum message size in bytes for the conversation.

purple_conversation_get_message_history

Retrieve the message history of a conversation.

purple_conversation_get_name

Returns the specified conversation’s name.

purple_conversation_get_title

Returns the specified conversation’s title.

purple_conversation_get_ui_ops

Returns the specified conversation’s UI operations structure.

purple_conversation_has_focus

Determines if a conversation has focus.

purple_conversation_present

Present a conversation to the user. This allows core code to initiate a conversation by displaying the IM dialog.

purple_conversation_send

Sends a message to this conversation. This function calls purple_conversation_send_with_flags() with no additional flags.

purple_conversation_send_confirm

Sends a message to a conversation after confirming with the user.

purple_conversation_send_with_flags

Sends a message to this conversation with specified flags.

purple_conversation_set_account

Sets the specified conversation’s purple_account.

purple_conversation_set_features

Set the features as supported for the given conversation.

purple_conversation_set_name

Sets the specified conversation’s name.

purple_conversation_set_title

Sets the specified conversation’s title.

purple_conversation_set_ui_ops

Sets the specified conversation’s UI operations structure.

purple_conversation_update

Updates the visual status and UI of a conversation.

purple_conversation_write_message

Writes to a chat or an IM.

purple_conversation_write_system_message

Wites a system message to a chat or an IM.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Conversation:account
No description available.
Purple.Conversation:features
No description available.
Purple.Conversation:name
No description available.
Purple.Conversation:title
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 PurpleConversationClass {
  void (* write_message) (
    PurpleConversation* conv,
    PurpleMessage* msg
  );
  
}

Base class for all PurpleConversations.

Class members
write_message
void (* write_message) (
    PurpleConversation* conv,
    PurpleMessage* msg
  )
  No description available.

Virtual methods

Purple.ConversationClass.write_message

Writes to a chat or an IM.