Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

Enum Pango.Direction

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.Direction
Enum : Direction
  Show / Hide Inherited methods, properties and signals
The PangoDirection type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of PangoDirection; for example, the return value of pango_unichar_direction() and pango_find_base_dir() cannot be PANGO_DIRECTION_WEAK_LTR or PANGO_DIRECTION_WEAK_RTL, since every character is either neutral or has a strong direction; on the other hand PANGO_DIRECTION_NEUTRAL doesn't make sense to pass to pango_itemize_with_base_dir(). The PANGO_DIRECTION_TTB_LTR, PANGO_DIRECTION_TTB_RTL values come from an earlier interpretation of this enumeration as the writing direction of a block of text and are no longer used; See PangoGravity for how vertical text is handled in Pango.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk.Keymap
Method
get_direction () : Pango.Direction
Pango
Method
Pango.find_base_dir (String text, Number length) : Pango.Direction
Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.
Pango
Method
Pango.log2vis_get_embedding_levels (String text, Number length, Direction pbase_dir) : String
This will return the bidirectional embedding levels of the input paragraph as defined by the Unicode Bidirectional Algorithm available at: http://www.unicode.org/reports/tr9/ If the input base direction is a weak direction, the direction of the characters in the text will determine the final resolved direction.
Pango
Method
Pango.unichar_direction (Number ch) : Pango.Direction
Determines the inherent direction of a character; either PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, or PANGO_DIRECTION_NEUTRAL.
Pango.Context
Method
set_base_dir (Direction direction) : none
Sets the base direction for the context.
Pango.Context
Method
get_base_dir () : Pango.Direction
Retrieves the base direction for the context.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:54 GMT+0800 (HKT)