Name

UI::Glyph — Returns a special character ( a 'glyph' )

Synopsis

string Glyph ( symbol  glyph );

Parameters

symbol glyph

Return

string

Description

Returns a special character ( a 'glyph' ) according to the symbol specified.

Not all UIs may be capable of displaying every glyph; if a specific UI doesn't support it, a textual representation ( probably in plain ASCII ) will be returned.

This is also why there is only a limited number of predefined glyphs: An ASCII equivalent is required which is sometimes hard to find for some characters defined in Unicode / UTF-8.

Please note the value returned may consist of more than one character; for example, Glyph( `ArrowRight ) may return something like "->".

If an unknown glyph symbol is specified, 'nil' is returned.