| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 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 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |