Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

Struct Pango.Language

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.Language
Struct : Language
  Show / Hide Inherited methods, properties and signals
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.get_default_language () : Pango.Language
Returns the PangoLanguage for the default language currently in effect.
Gtk.TextIter
Method
get_language () : Pango.Language
A convenience wrapper around gtk_text_iter_get_attributes (), which returns the language in effect at iter.
Pango
Method
Pango.get_log_attrs (String text, Number length, Number level, Language language, LogAttr log_attrs, Number attrs_len) : none
Computes a PangoLogAttr for each character in text.
Pango
Method
Pango.language_from_string (String language) : Pango.Language
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.
Pango
Method
Pango.language_get_default () : Pango.Language
Returns the PangoLanguage for the current locale of the process.
Pango
Method
Pango.script_get_sample_language (Script script) : Pango.Language
Given a script, finds a language tag that is reasonably representative of that script.
Pango.AttrIterator
Method
get_font (FontDescription desc, Language language, Array extra_attrs) : none
Get the font and other attributes at the current iterator position.
Pango.AttrLanguage
Method
new Pango.AttrLanguage.c_new (Language language) : Pango.AttrLanguage
Create a new Pango.AttrLanguage
Pango.Context
Method
load_fontset (FontDescription desc, Language language) : Pango.Fontset
Load a set of fonts in the context that can be used to render a font matching desc.
Pango.Context
Method
get_metrics (FontDescription desc, Language language) : Pango.FontMetrics
Get overall metric information for a particular font description.
Pango.Context
Method
get_language () : Pango.Language
Retrieves the global language tag for the context.
Pango.Context
Method
set_language (Language language) : none
Sets the global language tag for the context.
Pango.Font
Method
get_coverage (Language language) : Pango.Coverage
Computes the coverage map for a given font and language tag.
Pango.Font
Method
find_shaper (Language language, Number ch) : Pango.EngineShape
Finds the best matching shaper for a font for a particular language tag and character point.
Pango.Font
Method
get_metrics (Language language) : Pango.FontMetrics
Gets overall metric information for a font.
Pango.FontMap
Method
load_fontset (Context context, FontDescription desc, Language language) : Pango.Fontset
Load a set of fonts in the fontmap that can be used to render a font matching desc.
PangoFT2
Method
PangoFT2.font_get_coverage (Font font, Language language) : Pango.Coverage
Gets the PangoCoverage for a PangoFT2Font.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:53 GMT+0800 (HKT)