| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: object
Returns the locale that is used when printing text to a window or widget, and when reading the value out of a text-editing widget. This may affect which character set is used for non-ASCII character codes.
The setf of this
function may be used to set the locale of an object. The value may be
either nil
(to use the global locale) or a
locale object (see find-locale). The default is nil
.
Methods are supplied for cg-stream (for windows, menu
s, bitmap-stream
s, and printer
streams) and
for dialog-item
(for all widgets). For
widgets supplied by the underlying windowing system, the locale will
have an effect only if the particular widget supports setting its
locale. In Windows, locales appear to be supported by all widgets
that display text except for single-item-list
, multi-item-list
, button
, static-text
, and
combo-box
(though they do work in the typable pane of a typable combo-box).
See also with-object-locale.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |