History View

History View — Chat history widget

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTextView
                    ╰── TalkatuView
                        ╰── TalkatuHistory

Implemented Interfaces

TalkatuHistory implements AtkImplementorIface, GtkBuildable and GtkScrollable.

Description

This widget is used to display the conversation history. It doesn't care if it is multi user or one to one.

Functions

talkatu_history_new ()

GtkWidget *
talkatu_history_new (void);

Creates a new TalkatuHistory for displaying chat history.

Returns

The new TalkatuHistory instance.

[transfer full]


talkatu_history_page_up ()

void
talkatu_history_page_up (TalkatuHistory *history);

Scrolls history up one page.

Parameters

history

The TalkatuHistory instance.

 

talkatu_history_page_down ()

void
talkatu_history_page_down (TalkatuHistory *history);

Scrolls history down one page.

Parameters

history

The TalkatuHistory instance.

 

Types and Values

TALKATU_TYPE_HISTORY

#define TALKATU_TYPE_HISTORY            (talkatu_history_get_type())

The standard _get_type macro for TalkatuHistory.


TalkatuHistory

typedef struct _TalkatuHistory TalkatuHistory;

A TalkatuView subclass that is used to display a conversation.