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

keycombo — A combination of input actions

Synopsis

keycombo ::= (keycap | keycombo | keysym | mousebutton)+

Attribute synopsis

Common attributes and common linking attributes.

Additional attributes:

  • Exactly one of:

    • action (enumeration) = “click” | “double-click” | “press” | “seq” | “simul”

    • Each of:

      • action (enumeration) = “other”

      • otheraction

Required attributes are shown in bold.

Description

For actions that require multiple keystrokes, mouse actions, or other physical input selections, the keycombo element provides a wrapper for the entire set of events.

Processing expectations

Formatted inline.

Attributes

Common attributes and common linking attributes.

action

Identifies the nature of the action taken. If keycombo contains more than one element, simul is the default; otherwise, there is no default.

Enumerated values:
“click”

A (single) mouse click

“double-click”

A double mouse click

“press”

A mouse or key press

“seq”

Sequential clicks or presses

“simul”

Simultaneous clicks or presses

action

Identifies the nature of the action taken.

Enumerated values:
“other”

Indicates a nonstandard action

otheraction

Identifies the nonstandard action in some unspecified way.

See Also

accel, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, keycap, keycode, keysym, menuchoice, mousebutton, shortcut

Examples

<article xmlns='http://docbook.org/ns/docbook'> <title>Example keycombo</title> <para>To move a highlighted region, use <keycombo action='simul'> <keycap>Shift</keycap> <mousebutton>Button1</mousebutton> </keycombo> ...

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