HarfBuzz.Language – harfbuzz-gobject Reference Manual
Packages
harfbuzz-gobject
HarfBuzz
Language
from_string
get_default
_string
to_string
Language
Object Hierarchy:
Description:
[
CCode
( cname =
"hb_language_t"
, has_type_id =
false
) ]
[
Compact
]
[
GIR
( name =
"language_t"
) ]
public
class
Language
Data type for languages.
Each
Language
corresponds to a BCP 47 language tag.
Namespace:
HarfBuzz
Package:
harfbuzz-gobject
Content:
Static methods:
public
static
unowned
Language
from_string
(
uint8
[] str)
Converts
str
representing a BCP 47 language tag to the corresponding
Language
.
public
static
unowned
Language
get_default
()
Fetch the default language from current locale.
Methods:
public
unowned
string
_string
()
public
unowned
string
to_string
()
Converts an
Language
to a string.