-
Notifications
You must be signed in to change notification settings - Fork 86
glgui button arrow string
Chris Petersen edited this page Oct 16, 2014
·
1 revision
glgui-button-arrow-string creates an arrow button with a string label
Parameter | Description |
---|---|
g | Graphical User Interface (GUI) for this widget |
x | Lower left corner along the x-axis in pixels |
y | Lower left corner along the y-axis in pixels |
w | Width of the element in pixels |
h | Height of the element in pixels |
l | Specifies whether the arrow is pointing left. If true it points left, otherwise the arrow points right. |
str | The string to be shown on the button |
fnt | The font used to render the string |
callback | The callback procedure when button is clicked |
Example 1: A button arrow with "Back" string pointing to the left, which when clicked navigates back to a different gui. Requires a 22pt cabin font to run.
(glgui-button-arrow-string gui:info (+ x 5) (+ y (- h 37)) 60 30 #t "Back" cabin_22.fnt
(lambda (g wgt type mx my) (set! curscreen gui:start)))
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip