Swipeable
Interface
constructor
parent
name
get_
cancel_
progress
get_
distance
get_
progress
get_
snap_
points
get_
swipe_
area
get_
swipe_
tracker
switch_
child
GJS API Reference
Handy-1
Handy
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
get_
swipe_
tracker
switch_
child
Constructors
constructor
new
Swipeable
Interface
(
)
:
Handy
.
SwipeableInterface
Returns
Handy
.
SwipeableInterface
Properties
parent
parent
:
TypeInterface
the parent interface
field
Static
name
name
:
string
Methods
get_
cancel_
progress
get_
cancel_
progress
(
self
:
Handy
.
Swipeable
)
:
number
Parameters
self:
Handy
.
Swipeable
Returns
number
get_
distance
get_
distance
(
self
:
Handy
.
Swipeable
)
:
number
Parameters
self:
Handy
.
Swipeable
Returns
number
get_
progress
get_
progress
(
self
:
Handy
.
Swipeable
)
:
number
Parameters
self:
Handy
.
Swipeable
Returns
number
get_
snap_
points
get_
snap_
points
(
self
:
Handy
.
Swipeable
)
:
number
[]
Parameters
self:
Handy
.
Swipeable
Returns
number
[]
get_
swipe_
area
get_
swipe_
area
(
self
:
Handy
.
Swipeable
, navigation_direction
:
Handy
.
NavigationDirection
, is_drag
:
boolean
)
:
Gdk
.
Rectangle
Parameters
self:
Handy
.
Swipeable
navigation_direction:
Handy
.
NavigationDirection
is_drag:
boolean
Returns
Gdk
.
Rectangle
get_
swipe_
tracker
get_
swipe_
tracker
(
self
:
Handy
.
Swipeable
)
:
Handy
.
SwipeTracker
Parameters
self:
Handy
.
Swipeable
Returns
Handy
.
SwipeTracker
switch_
child
switch_
child
(
self
:
Handy
.
Swipeable
, index
:
number
, duration
:
number
)
:
void
Parameters
self:
Handy
.
Swipeable
index:
number
duration:
number
Returns
void
Swipeable
Interface
constructor
parent
name
get_
cancel_
progress
get_
distance
get_
progress
get_
snap_
points
get_
swipe_
area
get_
swipe_
tracker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