/[emacs]/emacs/lispref/customize.texi
ViewVC logotype

Diff of /emacs/lispref/customize.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by pj, Sat Feb 23 10:55:47 2002 UTC revision 1.25 by rms, Mon Mar 25 00:43:10 2002 UTC
# Line 943  the item itself, the second argument is Line 943  the item itself, the second argument is
943  the third argument is the event leading to the change, if any.  the third argument is the event leading to the change, if any.
944    
945  @item :menu-tag  @item :menu-tag
946  Tag used in the menu when the widget is used as an option in a  A tag used in the menu when the widget is used as an option in a
947  @code{menu-choice} widget.  @code{menu-choice} widget.
948    
949  @item :menu-tag-get  @item :menu-tag-get
950  Function used for finding the tag when the widget is used as an option  A function used for finding the tag when the widget is used as an option
951  in a @code{menu-choice} widget.  By default, the tag used will be either the  in a @code{menu-choice} widget.  By default, the tag used will be either the
952  @code{:menu-tag} or @code{:tag} property if present, or the @code{princ}  @code{:menu-tag} or @code{:tag} property if present, or the @code{princ}
953  representation of the @code{:value} property if not.  representation of the @code{:value} property if not.
954    
955  @item :validate  @item :validate
956  A function which takes a widget as an argument, and return nil if the  A function which takes a widget as an argument, and return @code{nil}
957  widgets current value is valid for the widget.  Otherwise, it should  if the widget's current value is valid for the widget.  Otherwise, it
958  return the widget containing the invalid data, and set that widgets  should return the widget containing the invalid data, and set that
959  @code{:error} property to a string explaining the error.  widget's @code{:error} property to a string explaining the error.
960    
961  You can use the function @code{widget-children-validate} for this job;  You can use the function @code{widget-children-validate} for this job;
962  it tests that all children of @var{widget} are valid.  it tests that all children of @var{widget} are valid.

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26