![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkListBox ╰── TalkatuHistory
This widget is used to display the conversation history. It doesn't care if it is multi user or one to one.
GtkWidget *
talkatu_history_new (void
);
Creates a new TalkatuHistory for displaying chat history.
void talkatu_history_write_message (TalkatuHistory *history
,TalkatuMessage *message
);
Adds message
to history
. Messages are sorted by timestamp so make sure
it is set correctly.
#define TALKATU_TYPE_HISTORY (talkatu_history_get_type())
The standard _get_type macro for TalkatuHistory.
typedef struct _TalkatuHistory TalkatuHistory;
A TalkatuView subclass that is used to display a conversation.