pangoLanguageMatches          package:RGtk2          R Documentation

_p_a_n_g_o_L_a_n_g_u_a_g_e_M_a_t_c_h_e_s

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

     Checks if a language tag matches one of the elements in a list of
     language ranges. A language tag is considered to match a range in
     the list if the range is '*', the range is exactly the tag, or the
     range is a prefix of the tag, and the character after it in the
     tag is '-'.

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

     pangoLanguageMatches(object, range.list)

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

'object': ['PangoLanguage']  a language tag (see
          'pangoLanguageFromString'), 'NULL' is allowed and matches
          nothing but '*'

'range.list': [char]  a list of language ranges, separated by ';', ':',
          ',', or space characters. Each element must either be '*', or
          a RFC 3066 language range canonicalized as by
          'pangoLanguageFromString'

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

     [logical] 'TRUE' if a match was found.

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

     Derived by RGtkGen from GTK+ documentation

