Package: gtk

Function gtk-default-language

Lambda List

gtk-default-language ()

Return Value

The default language as a pango-language structure.

Details

Returns the Pango language structure for the default language currently in effect. The default language is derived from the current locale. Note that this can change over the life of an application. It determines, for example, whether GTK uses the right-to-left or left-to-right text direction.

This function is equivalent to the function pango-language-default.

Example

 (setq lang (gtk-default-language))
=> #<PANGO-LANGUAGE {C7B3C51}>
 (pango-language-to-string lang)
=> "de-de"    
 

See also

2020-8-21