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

Diff of /emacs/lispref/display.texi

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

revision 1.143 by rms, Wed Jan 12 05:11:56 2005 UTC revision 1.144 by kfstorm, Wed Jan 12 15:33:00 2005 UTC
# Line 4049  the usual Emacs @code{highlight} face. Line 4049  the usual Emacs @code{highlight} face.
4049  @kindex keymap @r{(button property)}  @kindex keymap @r{(button property)}
4050  The button's keymap, defining bindings active within the button  The button's keymap, defining bindings active within the button
4051  region.  By default this is the usual button region keymap, stored  region.  By default this is the usual button region keymap, stored
4052  in the variable @code{button-map}, which defines @key{RET},  in the variable @code{button-map}, which defines @key{RET} and
4053  @key{mouse-1} (if @var{mouse-1-click-follows-link} is set),  @key{mouse-2} to invoke the button.
 and @key{mouse-2} to invoke the button.  
4054    
4055  @item type  @item type
4056  @kindex type @r{(button property)}  @kindex type @r{(button property)}
# Line 4066  A string displayed by the Emacs tool-tip Line 4065  A string displayed by the Emacs tool-tip
4065    
4066  @item follow-link  @item follow-link
4067  @kindex follow-link @r{(button property)}  @kindex follow-link @r{(button property)}
4068  The follow-link property, defining how a @key{mouse-1} click behaves  The follow-link property, defining how a @key{Mouse-1} click behaves
4069  on this button, @xref{Enabling Mouse-1 to Follow Links}.  on this button, @xref{Links and Mouse-1}.
4070    
4071  @item button  @item button
4072  @kindex button @r{(button property)}  @kindex button @r{(button property)}
4073  All buttons have a non-@code{nil} @code{button} property, which may be useful  All buttons have a non-@code{nil} @code{button} property, which may be useful
# Line 4239  These are commands and functions for loc Line 4239  These are commands and functions for loc
4239  buttons in an Emacs buffer.  buttons in an Emacs buffer.
4240    
4241  @code{push-button} is the command that a user uses to actually `push'  @code{push-button} is the command that a user uses to actually `push'
4242  a button, and is bound by default in the button itself to @key{RET},  a button, and is bound by default in the button itself to @key{RET}
 to @key{mouse-1} (if @var{mouse-1-click-follows-link} is set),  
4243  and to @key{mouse-2} using a region-specific keymap.  Commands  and to @key{mouse-2} using a region-specific keymap.  Commands
4244  that are useful outside the buttons itself, such as  that are useful outside the buttons itself, such as
4245  @code{forward-button} and @code{backward-button} are additionally  @code{forward-button} and @code{backward-button} are additionally
# Line 4248  available in the keymap stored in @code{ Line 4247  available in the keymap stored in @code{
4247  which uses buttons may want to use @code{button-buffer-map} as a  which uses buttons may want to use @code{button-buffer-map} as a
4248  parent keymap for its keymap.  parent keymap for its keymap.
4249    
4250    If the button has a non-@code{nil} @code{follow-link} property, and
4251    @var{mouse-1-click-follows-link} is set, a @key{Mouse-1} click will
4252    also activate the @code{push-button} command.
4253    
4254  @deffn Command push-button &optional pos use-mouse-action  @deffn Command push-button &optional pos use-mouse-action
4255  @tindex push-button  @tindex push-button
4256  Perform the action specified by a button at location @var{pos}.  Perform the action specified by a button at location @var{pos}.

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144

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