class Gtk::ScrollInfo

Overview

Provides detailed information on how a scroll operation should be performed.

Scrolling functions usually allow passing a NULL scroll info which will cause the default values to be used and just scroll the element into view.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def enable_horizontal : Bool #

def enable_horizontal=(horizontal : Bool) : Nil #

def enable_vertical : Bool #

def enable_vertical=(vertical : Bool) : Nil #

def finalize #

def ref : Gtk::ScrollInfo #

def to_unsafe : Pointer(Void) #

def unref : Nil #