Swipeable
Interface
constructor
parent
name
get
Cancel
Progress
get
Distance
get
Progress
get
Snap
Points
get
Swipe
Area
get
Swipe
Tracker
switch
Child
NODE-GTK 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
, navigationDirection
:
Handy
.
NavigationDirection
, isDrag
:
boolean
)
:
Gdk
.
Rectangle
Parameters
self:
Handy
.
Swipeable
navigationDirection:
Handy
.
NavigationDirection
isDrag:
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
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