Name
mousebutton — The conventional name of a mouse button
Synopsis
mousebutton ::=
(text | phrase
db._phrase | replaceable
| Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*
Attribute synopsis
Description
The mousebutton
element identifies the
conventional name of a mouse button. Because mouse buttons are not
physically labeled, the name is just that, a convention. Adding explicit
markup for the naming of mouse buttons allows easier translation from
one convention to another and might allow an online system to adapt to
right- or lefthanded usage.
Processing expectations
Formatted inline.
See Also
accel
, guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, keycap
, keycode
, keycombo
, keysym
, menuchoice
, shortcut
Examples
<article xmlns='http://docbook.org/ns/docbook'> <title>Example mousebutton</title> <para>Select a region of text by dragging the mouse pointer with the <mousebutton>left</mousebutton> mouse button depressed. Copy the selected text to a new location by placing the mouse pointer at the desired position and pressing the <mousebutton>middle</mousebutton> button. </para> </article>
Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.