DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

mousebutton

mousebutton — The conventional name of a mouse button.

Synopsis

mousebutton ::= [-]

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.

Children

The following elements occur in mousebutton: text, abbrev, acronym, alt, anchor, annotation, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, replaceable, subscript, superscript, trademark, wordasword, xref.

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>

Select a region of text by dragging the mouse pointer with the left mouse button depressed. Copy the selected text to a new location by placing the mouse pointer at the desired position and pressing the middle button.