Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: AlignmentEnum

[20:14] static extends: object

Generated integer conversion helper for GIR Alignment.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: DirectionEnum

[382:14] static extends: object

Generated integer conversion helper for GIR Direction.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: CoverageLevel

[328:6] static extends: object

Generated enum for GIR symbol CoverageLevel.

Members

  • none
  • fallback
  • approximate
  • exact

class: Overline

[659:6] static extends: object

Generated enum for GIR symbol Overline.

Members

  • none
  • single

class: OverlineEnum

[667:14] static extends: object

Generated integer conversion helper for GIR Overline.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: AttrTypeEnum

[93:14] static extends: object

Generated integer conversion helper for GIR AttrType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: BaselineShift

[192:6] static extends: object

Generated enum for GIR symbol BaselineShift.

Members

  • none
  • superscript
  • subscript

class: BaselineShiftEnum

[201:14] static extends: object

Generated integer conversion helper for GIR BaselineShift.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: WrapModeEnum

[1475:14] static extends: object

Generated integer conversion helper for GIR WrapMode.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: ScriptEnum

[862:14] static extends: object

Generated integer conversion helper for GIR Script.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Alignment

[11:6] static extends: object

Generated enum for GIR symbol Alignment.

Members

  • left
  • center
  • right

class: BidiType

[230:6] static extends: object

Generated enum for GIR symbol BidiType.

Members

  • l
  • lre
  • lro
  • r
  • al
  • rle
  • rlo
  • pdf
  • en
  • es
  • et
  • an
  • cs
  • nsm
  • bn
  • b
  • s
  • ws
  • on
  • lri
  • rli
  • fsi
  • pdi

class: Underline

[1297:6] static extends: object

Generated enum for GIR symbol Underline.

Members

  • none
  • single
  • VALUEDouble
  • low
  • error
  • single_line
  • double_line
  • error_line

class: TextTransform

[1256:6] static extends: object

Generated enum for GIR symbol TextTransform.

Members

  • none
  • lowercase
  • uppercase
  • capitalize

class: Script

[738:6] static extends: object

Generated enum for GIR symbol Script.

Members

  • invalid_code
  • common
  • inherited
  • arabic
  • armenian
  • bengali
  • bopomofo
  • cherokee
  • coptic
  • cyrillic
  • deseret
  • devanagari
  • ethiopic
  • georgian
  • gothic
  • greek
  • gujarati
  • gurmukhi
  • han
  • hangul
  • hebrew
  • hiragana
  • kannada
  • katakana
  • khmer
  • lao
  • latin
  • malayalam
  • mongolian
  • myanmar
  • ogham
  • old_italic
  • oriya
  • runic
  • sinhala
  • syriac
  • tamil
  • telugu
  • thaana
  • thai
  • tibetan
  • canadian_aboriginal
  • yi
  • tagalog
  • hanunoo
  • buhid
  • tagbanwa
  • braille
  • cypriot
  • limbu
  • osmanya
  • shavian
  • linear_b
  • tai_le
  • ugaritic
  • new_tai_lue
  • buginese
  • glagolitic
  • tifinagh
  • syloti_nagri
  • old_persian
  • kharoshthi
  • unknown
  • balinese
  • cuneiform
  • phoenician
  • phags_pa
  • nko
  • kayah_li
  • lepcha
  • rejang
  • sundanese
  • saurashtra
  • cham
  • ol_chiki
  • vai
  • carian
  • lycian
  • lydian
  • batak
  • brahmi
  • mandaic
  • chakma
  • meroitic_cursive
  • meroitic_hieroglyphs
  • miao
  • sharada
  • sora_sompeng
  • takri
  • bassa_vah
  • caucasian_albanian
  • duployan
  • elbasan
  • grantha
  • khojki
  • khudawadi
  • linear_a
  • mahajani
  • manichaean
  • mende_kikakui
  • modi
  • mro
  • nabataean
  • old_north_arabian
  • old_permic
  • pahawh_hmong
  • palmyrene
  • pau_cin_hau
  • psalter_pahlavi
  • siddham
  • tirhuta
  • warang_citi
  • ahom
  • anatolian_hieroglyphs
  • hatran
  • multani
  • old_hungarian
  • signwriting

class: TextTransformEnum

[1266:14] static extends: object

Generated integer conversion helper for GIR TextTransform.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontColor

[460:6] static extends: object

Generated enum for GIR symbol FontColor.

Members

  • forbidden
  • required
  • dont_care

class: Weight

[1400:6] static extends: object

Generated enum for GIR symbol Weight.

Members

  • thin
  • ultralight
  • light
  • semilight
  • book
  • normal
  • medium
  • semibold
  • bold
  • ultrabold
  • heavy
  • ultraheavy

class: TabAlign

[1215:6] static extends: object

Generated enum for GIR symbol TabAlign.

Members

  • left
  • right
  • center
  • decimal

class: Variant

[1350:6] static extends: object

Generated enum for GIR symbol Variant.

Members

  • normal
  • small_caps
  • all_small_caps
  • petite_caps
  • all_petite_caps
  • unicase
  • title_caps

class: FontColorEnum

[469:14] static extends: object

Generated integer conversion helper for GIR FontColor.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: LayoutDeserializeErrorEnum

[630:14] static extends: object

Generated integer conversion helper for GIR LayoutDeserializeError.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: AttrType

[49:6] static extends: object

Generated enum for GIR symbol AttrType.

Members

  • invalid
  • language
  • family
  • style
  • weight
  • variant
  • stretch
  • size
  • font_desc
  • foreground
  • background
  • underline
  • strikethrough
  • rise
  • shape
  • scale
  • fallback
  • letter_spacing
  • underline_color
  • strikethrough_color
  • absolute_size
  • gravity
  • gravity_hint
  • font_features
  • foreground_alpha
  • background_alpha
  • allow_breaks
  • show
  • insert_hyphens
  • overline
  • overline_color
  • line_height
  • absolute_line_height
  • text_transform
  • word
  • sentence
  • baseline_shift
  • font_scale

class: StyleEnum

[1186:14] static extends: object

Generated integer conversion helper for GIR Style.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: RenderPart

[694:6] static extends: object

Generated enum for GIR symbol RenderPart.

Members

  • foreground
  • background
  • underline
  • strikethrough
  • overline

class: UnderlineEnum

[1311:14] static extends: object

Generated integer conversion helper for GIR Underline.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: GravityEnum

[550:14] static extends: object

Generated integer conversion helper for GIR Gravity.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: CoverageLevelEnum

[338:14] static extends: object

Generated integer conversion helper for GIR CoverageLevel.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: WrapMode

[1465:6] static extends: object

Generated enum for GIR symbol WrapMode.

Members

  • word
  • char
  • word_char
  • none

class: Direction

[369:6] static extends: object

Generated enum for GIR symbol Direction.

Members

  • ltr
  • rtl
  • ttb_ltr
  • ttb_rtl
  • weak_ltr
  • weak_rtl
  • neutral

class: GravityHint

[583:6] static extends: object

Generated enum for GIR symbol GravityHint.

Members

  • natural
  • strong
  • line

class: WeightEnum

[1418:14] static extends: object

Generated integer conversion helper for GIR Weight.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Style

[1177:6] static extends: object

Generated enum for GIR symbol Style.

Members

  • normal
  • oblique
  • italic

class: StretchEnum

[1136:14] static extends: object

Generated integer conversion helper for GIR Stretch.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontScaleEnum

[508:14] static extends: object

Generated integer conversion helper for GIR FontScale.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Gravity

[539:6] static extends: object

Generated enum for GIR symbol Gravity.

Members

  • south
  • east
  • north
  • west
  • auto

class: FontScale

[498:6] static extends: object

Generated enum for GIR symbol FontScale.

Members

  • none
  • superscript
  • subscript
  • small_caps

class: Stretch

[1121:6] static extends: object

Generated enum for GIR symbol Stretch.

Members

  • ultra_condensed
  • extra_condensed
  • condensed
  • semi_condensed
  • normal
  • semi_expanded
  • expanded
  • extra_expanded
  • ultra_expanded

class: LayoutDeserializeError

[621:6] static extends: object

Generated enum for GIR symbol LayoutDeserializeError.

Members

  • invalid
  • invalid_value
  • missing_value

class: RenderPartEnum

[705:14] static extends: object

Generated integer conversion helper for GIR RenderPart.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: EllipsizeMode

[419:6] static extends: object

Generated enum for GIR symbol EllipsizeMode.

Members

  • none
  • start
  • middle
  • end

class: VariantEnum

[1363:14] static extends: object

Generated integer conversion helper for GIR Variant.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: BidiTypeEnum

[259:14] static extends: object

Generated integer conversion helper for GIR BidiType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: GravityHintEnum

[592:14] static extends: object

Generated integer conversion helper for GIR GravityHint.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: EllipsizeModeEnum

[429:14] static extends: object

Generated integer conversion helper for GIR EllipsizeMode.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: TabAlignEnum

[1225:14] static extends: object

Generated integer conversion helper for GIR TabAlign.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.