Class

TalkatuAutoScroller

Description [src]

final class Talkatu.AutoScroller : Gtk.Adjustment {
  /* No available fields */
}

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

Constructors

talkatu_auto_scroller_new

Creates a new TalkatuAutoScroller.

Instance methods

talkatu_auto_scroller_decrement

Decrements the value of auto_scroller by a page increment.

talkatu_auto_scroller_increment

Increments the value of auto_scroller by a page increment.

Methods inherited from GtkAdjustment (15)
gtk_adjustment_clamp_page

Updates the value property to ensure that the range between lower and upper is in the current page.

gtk_adjustment_configure

Sets all properties of the adjustment at once.

gtk_adjustment_get_lower

Retrieves the minimum value of the adjustment.

gtk_adjustment_get_minimum_increment

Gets the smaller of step increment and page increment.

gtk_adjustment_get_page_increment

Retrieves the page increment of the adjustment.

gtk_adjustment_get_page_size

Retrieves the page size of the adjustment.

gtk_adjustment_get_step_increment

Retrieves the step increment of the adjustment.

gtk_adjustment_get_upper

Retrieves the maximum value of the adjustment.

gtk_adjustment_get_value

Gets the current value of the adjustment.

gtk_adjustment_set_lower

Sets the minimum value of the adjustment.

gtk_adjustment_set_page_increment

Sets the page increment of the adjustment.

gtk_adjustment_set_page_size

Sets the page size of the adjustment.

gtk_adjustment_set_step_increment

Sets the step increment of the adjustment.

gtk_adjustment_set_upper

Sets the maximum value of the adjustment.

gtk_adjustment_set_value

Sets the GtkAdjustment value.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from GtkAdjustment (6)
Gtk.Adjustment:lower

The minimum value of the adjustment.

Gtk.Adjustment:page-increment

The page increment of the adjustment.

Gtk.Adjustment:page-size

The page size of the adjustment.

Gtk.Adjustment:step-increment

The step increment of the adjustment.

Gtk.Adjustment:upper

The maximum value of the adjustment.

Gtk.Adjustment:value

The value of the adjustment.

Signals

Signals inherited from GtkAdjustment (2)
Gtk.Adjustment::changed

Emitted when one or more of the GtkAdjustment properties have been changed.

Gtk.Adjustment::value-changed

Emitted when the value has been changed.

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct TalkatuAutoScrollerClass {
  GtkAdjustmentClass parent_class;
  
}
No description available.
Class members
parent_class: GtkAdjustmentClass
No description available.