This section explains the arguments used in the various dialog box macros.
(cx-create-panel title apply-cb update-cb)
| Argument | Type | Description |
|---|---|---|
| title | string | Name of the dialog box |
| apply-cb | function | Name of the function called when the button is clicked |
| update-cb | function | Name of the function called when the dialog box is opened |
Note: While the apply-cb and update-cb arguments are normally function names that
are called when the dialog box is opened or the button is clicked, they do not need to be function names for the cx-create-panel macro to work. In many examples throughout
part two of this guide, the apply-cb and update-cb arguments will be Boolean values rather than
function names. The examples that use Boolean values instead of function
names do not have any use when the button
is clicked, but they do allow us to focus more on the specific elements
of the interface rather than the overhead of setting up these functions.
For examples where the apply-cb and update-cb arguments are set up as functions and allow
functionality through RP variables, see Comprehensive Examples.