Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

object-locale

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, menus, bitmap-streams, 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version