Enhanced Scrolled Window

Enhanced Scrolled Window — An enhanced GtkScrolledWindow

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkScrolledWindow
                        ╰── TalkatuScrolledWindow

Implemented Interfaces

TalkatuScrolledWindow implements AtkImplementorIface and GtkBuildable.

Description

This widget is a simple subclass of GtkScrolledWindow that has helpers for keyboard navigation as well as the ability to automatically scroll to the end when new items are added if the widget was already scrolled all the way to the bottom.

Functions

talkatu_scrolled_window_new ()

GtkWidget *
talkatu_scrolled_window_new (GtkAdjustment *hadjustment,
                             GtkAdjustment *vadjustment);

Creates a new TalkatuScrolledWindow.

Parameters

hadjustment

The GtkAdjustment for the horizontal position.

 

vadjustment

The GtkAdjustment for the vertical position.

 

Returns

The new TalkatuScrolledWindow instance.

[transfer full]

talkatu_scrolled_window_page_up ()

void
talkatu_scrolled_window_page_up (TalkatuScrolledWindow *sw);

Scrolls sw up one page.

Parameters

sw

The TalkatuScrolledWindow instance.

 

talkatu_scrolled_window_page_down ()

void
talkatu_scrolled_window_page_down (TalkatuScrolledWindow *sw);

Scrolls sw down one page.

Parameters

sw

The TalkatuScrolledWindow instance.

 

Types and Values

TALKATU_TYPE_SCROLLED_WINDOW

#define TALKATU_TYPE_SCROLLED_WINDOW (talkatu_scrolled_window_get_type())

The standard _get_type macro for TalkatuScrolledWindow.

TalkatuScrolledWindow

typedef struct _TalkatuScrolledWindow TalkatuScrolledWindow;

An enhanced GtkScrolledWindow subclass.