Package: gtk

Function gtk-get-default-language

Lambda List

gtk-get-default-language ()

Return Value

The default language as a pango-language object.

Details

Returns the pango-language object 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-get-default. See that function for details.

Example

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

See also

2013-8-21