gtkGetDefaultLanguage {RGtk2}R Documentation

gtkGetDefaultLanguage

Description

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. See gtkGetLcCtype() for notes on behaviour on Windows.

Usage

gtkGetDefaultLanguage()

Value

[PangoLanguage] the default language as a PangoLanguage, must not be freed

Note

This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call gtkInitCheck instead.

This function is deprecated. You should use GDK_PRIORITY_REDRAW instead. This function is deprecated. You should use G_PRIORITY_HIGH instead. This function is deprecated. You should use G_PRIORITY_DEFAULT_IDLE instead. This function is deprecated. You should use G_PRIORITY_LOW instead.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.8.5 Index]