module Adw::Swipeable

Overview

An interface for swipeable widgets.

The Adw::Swipeable interface is implemented by all swipeable widgets.

See #SwipeTracker for details about implementing it.

Direct including types

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

def self.g_type : UInt64 #

Instance Method Detail

def cancel_progress : Float64 #

def distance : Float64 #

def progress : Float64 #

def snap_points : Enumerable(Float64) #

def swipe_area(navigation_direction : Adw::NavigationDirection, is_drag : Bool) : Gdk::Rectangle #

abstract def to_unsafe #