Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ModuleError

[11:6] static extends: object

Generated enum for GIR symbol ModuleError.

Members

  • failed
  • check_failed

class: ModuleErrorEnum

[19:14] static extends: object

Generated integer conversion helper for GIR ModuleError.

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.