O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

mousebutton — The conventional name of a mouse button

Synopsis

mousebutton ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

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>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required