:right-sidebar: True BidiType =================================================================== .. currentmodule:: gi.repository.Pango .. versionadded:: 1.22 .. deprecated:: 1.44 Use fribidi for this information .. class:: BidiType :no-contents-entry: ``PangoBidiType`` represents the bidirectional character type of a Unicode character. The values in this enumeration are specified by the `Unicode bidirectional algorithm `_. Methods ------- .. rst-class:: interim-class .. class:: BidiType :no-index: .. method:: for_unichar(ch: str) -> ~gi.repository.Pango.BidiType Determines the bidirectional type of a character. The bidirectional type is specified in the Unicode Character Database. A simplified version of this function is available as :obj:`~gi.repository.Pango.unichar_direction`. .. versionadded:: 1.22 :param ch: a Unicode character Fields ------ .. rst-class:: interim-class .. class:: BidiType :no-index: .. attribute:: AL Right-to-Left Arabic .. attribute:: AN Arabic Number .. attribute:: B Paragraph Separator .. attribute:: BN Boundary Neutral .. attribute:: CS Common Number Separator .. attribute:: EN European Number .. attribute:: ES European Number Separator .. attribute:: ET European Number Terminator .. attribute:: FSI First strong isolate. Since 1.48.6 .. attribute:: L Left-to-Right .. attribute:: LRE Left-to-Right Embedding .. attribute:: LRI Left-to-Right isolate. Since 1.48.6 .. attribute:: LRO Left-to-Right Override .. attribute:: NSM Nonspacing Mark .. attribute:: ON Other Neutrals .. attribute:: PDF Pop Directional Format .. attribute:: PDI Pop directional isolate. Since 1.48.6 .. attribute:: R Right-to-Left .. attribute:: RLE Right-to-Left Embedding .. attribute:: RLI Right-to-Left isolate. Since 1.48.6 .. attribute:: RLO Right-to-Left Override .. attribute:: S Segment Separator .. attribute:: WS Whitespace