struct Adw::SwipeTracker::PrepareSignal

Overview

This signal is emitted when a possible swipe is detected.

The @direction value can be used to restrict the swipe to a certain direction.

Defined in:

lib/gi-crystal/src/auto/adw-1/swipe_tracker.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(Adw::NavigationDirection, Nil)) : GObject::SignalConnection #

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

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

def emit(direction : Adw::NavigationDirection) : Nil #

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

The signal name