Swipeable
Interface
constructor
parent
name
get_
cancel_
progress
get_
distance
get_
progress
get_
snap_
points
get_
swipe_
area
GJS API Reference
Adw-1
Adw
SwipeableInterface
Class SwipeableInterface
An interface for swipeable widgets.
record
Hierarchy
SwipeableInterface
Index
Constructors
constructor
Properties
parent
name
Methods
get_
cancel_
progress
get_
distance
get_
progress
get_
snap_
points
get_
swipe_
area
Constructors
constructor
new
Swipeable
Interface
(
)
:
Adw
.
SwipeableInterface
Returns
Adw
.
SwipeableInterface
Properties
parent
parent
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
get_
cancel_
progress
get_
cancel_
progress
(
self
:
Adw
.
Swipeable
)
:
number
Parameters
self:
Adw
.
Swipeable
Returns
number
get_
distance
get_
distance
(
self
:
Adw
.
Swipeable
)
:
number
Parameters
self:
Adw
.
Swipeable
Returns
number
get_
progress
get_
progress
(
self
:
Adw
.
Swipeable
)
:
number
Parameters
self:
Adw
.
Swipeable
Returns
number
get_
snap_
points
get_
snap_
points
(
self
:
Adw
.
Swipeable
)
:
number
[]
Parameters
self:
Adw
.
Swipeable
Returns
number
[]
get_
swipe_
area
get_
swipe_
area
(
self
:
Adw
.
Swipeable
, navigation_direction
:
Adw
.
NavigationDirection
, is_drag
:
boolean
)
:
Gdk
.
Rectangle
Parameters
self:
Adw
.
Swipeable
navigation_direction:
Adw
.
NavigationDirection
is_drag:
boolean
Returns
Gdk
.
Rectangle
Swipeable
Interface
constructor
parent
name
get_
cancel_
progress
get_
distance
get_
progress
get_
snap_
points
get_
swipe_
area
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJBZHdfMS5BZHcuU3dpcGVhYmxlSW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpm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