pangoLanguageFromString        package:RGtk2        R Documentation

_p_a_n_g_o_L_a_n_g_u_a_g_e_F_r_o_m_S_t_r_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     Take a RFC-3066 format language tag as a string and convert it to
     a 'PangoLanguage' pointer that can be efficiently copied (copy the
     pointer) and compared with other language tags (compare the
     pointer.)

_U_s_a_g_e:

     pangoLanguageFromString(language)

_A_r_g_u_m_e_n_t_s:

'language': [char]  a string representing a language tag

_D_e_t_a_i_l_s:

     This function first canonicalizes the string by converting it to
     lowercase, mapping '_' to '-', and stripping all characters other
     than letters and '-'.

     Use 'pangoLanguageGetDefault()' if you want to get the
     'PangoLanguage' for the current locale of the process.

_V_a_l_u_e:

     ['PangoLanguage']  an opaque pointer to a 'PangoLanguage'
     structure. this will be valid forever after.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

