comparison man/widget.texi @ 108:360340f9fd5f r20-1b6

Import from CVS: tag r20-1b6
author cvs
date Mon, 13 Aug 2007 09:18:39 +0200
parents 8ff55ebd4be9
children fe104dbd9147
comparison
equal deleted inserted replaced
107:523141596bda 108:360340f9fd5f
1 \input texinfo.tex 1 \input texinfo.tex
2 2
3 @c $Id: widget.texi,v 1.5 1997/03/04 08:01:33 steve Exp $ 3 @c $Id: widget.texi,v 1.6 1997/03/08 23:27:27 steve Exp $
4 4
5 @c %**start of header 5 @c %**start of header
6 @setfilename widget 6 @setfilename widget
7 @settitle The Emacs Widget Library 7 @settitle The Emacs Widget Library
8 @iftex 8 @iftex
13 13
14 @node Top, Introduction, (dir), (dir) 14 @node Top, Introduction, (dir), (dir)
15 @comment node-name, next, previous, up 15 @comment node-name, next, previous, up
16 @top The Emacs Widget Library 16 @top The Emacs Widget Library
17 17
18 Version: 1.50 18 Version: 1.59
19 19
20 @menu 20 @menu
21 * Introduction:: 21 * Introduction::
22 * User Interface:: 22 * User Interface::
23 * Programming Example:: 23 * Programming Example::
399 @end defun 399 @end defun
400 400
401 There is a standard widget keymap which you might find useful. 401 There is a standard widget keymap which you might find useful.
402 402
403 @defvr Const widget-keymap 403 @defvr Const widget-keymap
404 A keymap with the global keymap as its parent.@br 404 A keymap with the global keymap as its parent.@*
405 @key{TAB} and @kbd{C-@key{TAB}} are bound to @code{widget-forward} and 405 @key{TAB} and @kbd{C-@key{TAB}} are bound to @code{widget-forward} and
406 @code{widget-backward}, respectively. @kbd{@key{RET}} and @kbd{mouse-2} 406 @code{widget-backward}, respectively. @kbd{@key{RET}} and @kbd{mouse-2}
407 are bound to @code{widget-button-press} and 407 are bound to @code{widget-button-press} and
408 @code{widget-button-}.@refill 408 @code{widget-button-}.@refill
409 @end defvr 409 @end defvr
531 @code{:error} property to a string explaining the error. 531 @code{:error} property to a string explaining the error.
532 532
533 @item :parent 533 @item :parent
534 The parent of a nested widget (e.g. a @code{menu-choice} item or an element of a 534 The parent of a nested widget (e.g. a @code{menu-choice} item or an element of a
535 @code{editable-list} widget). 535 @code{editable-list} widget).
536
537 @item :sibling-args
538 This keyword is only used for members of a @code{radio-button-choice} or
539 @code{checklist}. The value should be a list of extra keyword
540 arguments, which will be used when creating the @code{radio-button} or
541 @code{checkbox} associated with this item.
542
536 @end table 543 @end table
537 544
538 @deffn {User Option} widget-glyph-directory 545 @deffn {User Option} widget-glyph-directory
539 Directory where glyphs are found. 546 Directory where glyphs are found.
540 Widget will look here for a file with the same name as specified for the 547 Widget will look here for a file with the same name as specified for the
633 640
634 The following extra properties are recognized. 641 The following extra properties are recognized.
635 642
636 @table @code 643 @table @code
637 @item :size 644 @item :size
638 The width of the editable field.@br 645 The width of the editable field.@*
639 By default the field will reach to the end of the line. 646 By default the field will reach to the end of the line.
640 647
641 @item :value-face 648 @item :value-face
642 Face used for highlighting the editable field. Default is 649 Face used for highlighting the editable field. Default is
643 @code{widget-field-face}. 650 @code{widget-field-face}.
752 Replace with the radio button. 759 Replace with the radio button.
753 @item %% 760 @item %%
754 Insert a literal @samp{%}. 761 Insert a literal @samp{%}.
755 @end table 762 @end table
756 763
764 @item button-args
765 A list of keywords to pass to the radio buttons. Useful for setting
766 e.g. the @samp{:help-echo} for each button.
767
757 @item :buttons 768 @item :buttons
758 The widgets representing the radio buttons. 769 The widgets representing the radio buttons.
759 770
760 @item :children 771 @item :children
761 The widgets representing each type. 772 The widgets representing each type.
878 @item %b 889 @item %b
879 Replace with the checkbox. 890 Replace with the checkbox.
880 @item %% 891 @item %%
881 Insert a literal @samp{%}. 892 Insert a literal @samp{%}.
882 @end table 893 @end table
894
895 @item button-args
896 A list of keywords to pass to the checkboxes. Useful for setting
897 e.g. the @samp{:help-echo} for each checkbox.
883 898
884 @item :buttons 899 @item :buttons
885 The widgets representing the checkboxes. 900 The widgets representing the checkboxes.
886 901
887 @item :children 902 @item :children
920 Insert the @b{[DEL]} button. 935 Insert the @b{[DEL]} button.
921 @item %% 936 @item %%
922 Insert a literal @samp{%}. 937 Insert a literal @samp{%}.
923 @end table 938 @end table
924 939
940 @item :insert-button-args
941 A list of keyword arguments to pass to the insert buttons.
942
943 @item :delete-button-args
944 A list of keyword arguments to pass to the delete buttons.
945
946 @item :append-button-args
947 A list of keyword arguments to pass to the trailing insert button.
948
949
925 @item :buttons 950 @item :buttons
926 The widgets representing the insert and delete buttons. 951 The widgets representing the insert and delete buttons.
927 952
928 @item :children 953 @item :children
929 The widgets representing the elements of the list. 954 The widgets representing the elements of the list.