summaryrefslogtreecommitdiff
path: root/devdocs/elisp/buttons.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/elisp/buttons.html')
-rw-r--r--devdocs/elisp/buttons.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/devdocs/elisp/buttons.html b/devdocs/elisp/buttons.html
new file mode 100644
index 00000000..47a982a5
--- /dev/null
+++ b/devdocs/elisp/buttons.html
@@ -0,0 +1,31 @@
+ <h3 class="section">Buttons</h3> <p>The Button package defines functions for inserting and manipulating <em>buttons</em> that can be activated with the mouse or via keyboard commands. These buttons are typically used for various kinds of hyperlinks. </p> <p>A button is essentially a set of text or overlay properties, attached to a stretch of text in a buffer. These properties are called <em>button properties</em>. One of these properties, the <em>action property</em>, specifies a function which is called when the user invokes the button using the keyboard or the mouse. The action function may examine the button and use its other properties as desired. </p> <p>In some ways, the Button package duplicates the functionality in the Widget package. See <a href="https://www.gnu.org/software/emacs/manual/html_node/widget/index.html#Top">Introduction</a> in <cite>The Emacs Widget Library</cite>. The advantage of the Button package is that it is faster, smaller, and simpler to program. From the point of view of the user, the interfaces produced by the two packages are very similar. </p> <table class="menu" border="0" cellspacing="0"> <tr>
+<td align="left" valign="top">• <a href="button-properties" accesskey="1">Button Properties</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Button properties with special meanings. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="button-types" accesskey="2">Button Types</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Defining common properties for classes of buttons. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="making-buttons" accesskey="3">Making Buttons</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Adding buttons to Emacs buffers. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="manipulating-buttons" accesskey="4">Manipulating Buttons</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Getting and setting properties of buttons. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="button-buffer-commands" accesskey="5">Button Buffer Commands</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Buffer-wide commands and bindings for buttons. </td>
+</tr> </table><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Buttons.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Buttons.html</a>
+ </p>
+</div>