Mercurial > emacs
comparison man/widget.texi @ 47741:be7a44c8fe9c
wid-edit.el fixes
author | Per Abrahamsen <abraham@dina.kvl.dk> |
---|---|
date | Thu, 03 Oct 2002 13:46:25 +0000 |
parents | 0a70200bde27 |
children | 5177877a5328 |
comparison
equal
deleted
inserted
replaced
47740:c09fefd016a4 | 47741:be7a44c8fe9c |
---|---|
1534 | 1534 |
1535 @defun widget-value-convert-widget widget | 1535 @defun widget-value-convert-widget 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 |
1542 takes two arguments, a widget and an external value, and returns the | 1555 takes two arguments, a widget and an external value, and returns the |
1543 internal value. The function is called on the present @code{:value} | 1556 internal value. The function is called on the present @code{:value} |