Method

PurpleConversationsmove_conversation

unstable since: 3.0

Declaration [src]

gboolean
purple_conversations_move_conversation (
  PurpleConversations* conversations,
  PurpleConversation* conversation,
  gint position
)

Description [src]

Moves a conversation to a specific position moving all conversations after position down.

position is a zero based index in the collection. If it is less than zero or greater than the number of items in the collection then it will be moved to the end.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation to move.

The data is owned by the caller of the method.
position

Type: gint

The new position for the conversation.

Return value

Type: gboolean

True if the conversation was found and moved.