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

Class Method Summary

Instance Method Summary

Class Method Detail

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 #