module Gtk::Scrollable

Overview

Gtk::Scrollable 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:

lib/gi-crystal/src/auto/gtk-4.0/scrollable.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

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 #