Name

guilabel — The text of a label in a GUI

Synopsis

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

Description

A guilabel identifies text that appears as a label in a graphical user interface.

What constitutes a label may vary from application to application. In general, any text that appears in a GUI may be considered a label—for example, a message in a dialog box or a window title.

Processing expectations

Formatted inline.

See Also

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

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example guilabel</title>

<para>The exact text of the <guilabel>Legend</guilabel> and other labels on the
graph is dependent upon the language of the current locale.  Likewise,
the text of the <guibutton>OK</guibutton> button and other buttons may vary.
The <guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="figures/legend.png"/>
</imageobject>
</inlinemediaobject></guiicon>
icon and the other icons on the left side of the display may be
configured by the local administrator, but they are not
generally expected to vary from locale to locale.
</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.