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.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
- #cancel_progress : Float64
- #distance : Float64
- #progress : Float64
- #snap_points : Enumerable(Float64)
- #swipe_area(navigation_direction : Adw::NavigationDirection, is_drag : Bool) : Gdk::Rectangle
- #to_unsafe