diff options
Diffstat (limited to 'man')
| -rw-r--r-- | man/widget.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/widget.texi b/man/widget.texi index 2efb57624b5..fdac3cdde64 100644 --- a/man/widget.texi +++ b/man/widget.texi | |||
| @@ -1536,6 +1536,19 @@ Convert @code{:args} as widget types in @var{widget}. | |||
| 1536 | Initialize @code{:value} from @code{:args} in @var{widget}. | 1536 | Initialize @code{:value} from @code{:args} in @var{widget}. |
| 1537 | @end defun | 1537 | @end defun |
| 1538 | 1538 | ||
| 1539 | @vindex copy@r{ keyword} | ||
| 1540 | @item :copy | ||
| 1541 | Function to deep copy a widget type. It takes a shallow copy of the | ||
| 1542 | widget type as an argument (made by @code{copy-sequence}), and returns a | ||
| 1543 | deep copy. The purpose of this is to avoid having different instances | ||
| 1544 | of combined widgets share nested attributes. | ||
| 1545 | |||
| 1546 | The following predefined functions can be used here: | ||
| 1547 | |||
| 1548 | @defun widget-types-copy widget | ||
| 1549 | Copy @code{:args} as widget types in @var{widget}. | ||
| 1550 | @end defun | ||
| 1551 | |||
| 1539 | @vindex value-to-internal@r{ keyword} | 1552 | @vindex value-to-internal@r{ keyword} |
| 1540 | @item :value-to-internal | 1553 | @item :value-to-internal |
| 1541 | Function to convert the value to the internal format. The function | 1554 | Function to convert the value to the internal format. The function |