struct Adw::Carousel::PageChangedSignal

Overview

This signal is emitted after a page has been changed.

It can be used to implement "infinite scrolling" by amending the pages after every scroll.

Defined in:

lib/gi-crystal/src/auto/adw-1/carousel.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : String? = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(UInt32, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(UInt32, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Adw::Carousel, UInt32, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(index : UInt32) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name