Buttons have an associated list of properties defining their appearance and behavior, and other arbitrary properties may be used for application specific purposes. Some properties that have special meaning to the button package include:
actionignore,
which does nothing.
mouse-actionaction, and when present, will be used
instead of action for button invocations resulting from
mouse-clicks (instead of the user hitting <RET>). If not
present, mouse-clicks use action instead.
facebutton face.
mouse-facehighlight face.
keymapbutton-map, which defines <RET> and
<mouse-2> to invoke the button.
type:type keyword argument.
See Button Types.
help-echo"mouse-2, RET: Push this button".
follow-linkbuttonnil button property, which may be useful
in finding regions of text that comprise buttons (which is what the
standard button functions do).
There are other properties defined for the regions of text in a button, but these are not generally interesting for typical uses.
blog comments powered by Disqus