☰
Contents
slide
Modules
ext.button
ext.buttonhelper
ext.pg
frame
image
shape
text
window
Extension
Extensions
window
Provides functions for window objects
slide(win, dir, distance [, delay=0.05])
Slides a window in a direction.
slide(win, dir, distance [, delay=0.05])
Source
Slides a window in a direction.
Parameters
win
table
Window to slide.
dir
string
Direction to slide, has to be "up", "down", "left", or "right".
distance
number
Distance to slide in pixels. Must be positive.
delay
?
number
=
0.05
Time between repositions.