(action_tile key expression)
Respond when the user clicks a dialog box tile.
This function assigns the expression to evaluate when the user selects the tile referenced by key. Both expression and key are strings; key is case-sensitive. Expression is typically another LISP function; key refers to the tile. This function operates on tiles that are user-selectable elements of a dialog box, such as radio buttons, check boxes, or buttons.
The expression refers to the tile, using the following arguments:
| Argument | Meaning |
|---|---|
| $value | Current value |
| $key | Tile name |
| $data | Application specific data |
| $reason | Callback reason |
| $x | Image x-coordinate |
| $y | Image y-coordinate |
Example
| Code | Returns |
|---|---|
| (action_tile "xpt" x_coord) | nil |
NOTES
- The expression assigned by action_tile overrules the default action of the dialog box (which is assigned via the new_dialog function) and the tile's action attribute.
- The command function cannot be called by action_tile.
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español