Next: Button Buffer Commands, Previous: Making Buttons, Up: Buttons [Contents][Index]
These are functions for getting and setting properties of buttons. Often these are used by a button’s invocation function to determine what to do.
Where a button parameter is specified, it means an object referring to a specific button, either an overlay (for overlay buttons), or a buffer-position or marker (for text property buttons). Such an object is passed as the first argument to a button’s invocation function when it is invoked.
Call button’s action
property (i.e., invoke the function
that is the value of that property, passing it the single argument
button). If use-mouse-action is non-nil
, try to
invoke the button’s mouse-action
property instead of
action
; if the button has no mouse-action
property, use
action
as normal. If the button-data
property is
present in button, use that as the argument for the
action
function instead of button.
Next: Button Buffer Commands, Previous: Making Buttons, Up: Buttons [Contents][Index]