Skip to main content
Version: DocBook V4.5

mousebutton

mousebutton — The conventional name of a mouse button

Synopsis

Mixed Content Model

mousebutton ::=
(#PCDATA|replaceable|inlinegraphic|inlinemediaobject|indexterm|
beginpage)*

Attributes

Common attributes

Name

Type

Default

moreinfo

Enumeration:

none

refentry

"none"

Description

The MouseButton element identifies the conventional name of a mouse button. Because mouse buttons are not physically labelled, the name is just that, a convention. Adding explicit markup for the naming of mouse buttons allow easier translation from one convention to another and might allow an online system to adapt to right- or left-handed usage.

Processing expectations

Formatted inline. The MoreInfo attribute can help generate a link or query to retrieve additional information.

Children

The following elements occur in mousebutton: beginpage, indexterm, inlinegraphic, inlinemediaobject, replaceable.

Attributes

moreinfo

If MoreInfo is set to RefEntry, it implies that a RefEntry exists which further describes the MouseButton.

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<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>

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.

For additional examples, see also keycombo.