Top | ![]() |
![]() |
![]() |
![]() |
GtkTextBuffer * | talkatu_history_buffer_new () |
void | talkatu_history_buffer_write_message () |
This buffer is used to displayed the chat history. It has some helper methods to make it easier to add messages to it as text should not be manually.
GtkTextBuffer *
talkatu_history_buffer_new (void
);
Creates a new TalkatuHistoryBuffer for display conversation history.
void talkatu_history_buffer_write_message (TalkatuHistoryBuffer *buffer
,TalkatuMessage *message
);
Writes message
to buffer
.
#define TALKATU_TYPE_HISTORY_BUFFER (talkatu_history_buffer_get_type())
The standard _get_type macro for TalkatuHistoryBuffer.
struct TalkatuHistoryBufferClass { void (*write_message)(TalkatuHistoryBuffer *buffer, TalkatuMessage *message); };
The backing class to TalkatuHistoryBuffer.
typedef struct _TalkatuHistoryBuffer TalkatuHistoryBuffer;
A TalkatuBuffer subclass that works on TalkatuMessage's rather than raw text.