module Gtk::Scrollable

Overview

GtkScrollable is an interface for widgets with native scrolling ability.

To implement this interface you should override the Gtk::Scrollable#hadjustment and Gtk::Scrollable#vadjustment properties.

Creating a scrollable widget

All scrollable widgets should do the following.

Direct including types

Defined in:

auto/gtk-4.0/scrollable.cr

Instance Method Summary

Instance Method Detail

def border : Gtk::Border #

def hadjustment : Gtk::Adjustment? #

def hadjustment=(hadjustment : Gtk::Adjustment?) : Nil #

def hscroll_policy : Gtk::ScrollablePolicy #

def hscroll_policy=(policy : Gtk::ScrollablePolicy) : Nil #

abstract def to_unsafe #

def vadjustment : Gtk::Adjustment? #

def vadjustment=(vadjustment : Gtk::Adjustment?) : Nil #

def vscroll_policy : Gtk::ScrollablePolicy #

def vscroll_policy=(policy : Gtk::ScrollablePolicy) : Nil #