get_default_language


Description:


public unowned Language get_default_language ()

Returns the `PangoLanguage` for the default language currently in effect.

Note that this can change over the life of an application.

The default language is derived from the current locale. It determines, for example, whether GTK uses the right-to-left or left-to-right text direction.

This function is equivalent to [[email protected]_default]. See that function for details.

Returns:

the default language as a `PangoLanguage`


Namespace: Gtk
Package: gtk4



2022 vala-language.org