Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ColorspaceEnum

[18:14] static extends: object

Generated integer conversion helper for GIR Colorspace.

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: PixbufAlphaModeEnum

[92:14] static extends: object

Generated integer conversion helper for GIR PixbufAlphaMode.

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: PixbufRotation

[169:6] static extends: object

Generated enum for GIR symbol PixbufRotation.

Members

  • none
  • counterclockwise
  • upsidedown
  • clockwise

class: InterpType

[43:6] static extends: object

Generated enum for GIR symbol InterpType.

Members

  • nearest
  • tiles
  • bilinear
  • hyper

class: PixbufAlphaMode

[84:6] static extends: object

Generated enum for GIR symbol PixbufAlphaMode.

Members

  • bilevel
  • full

class: PixbufErrorEnum

[132:14] static extends: object

Generated integer conversion helper for GIR PixbufError.

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: InterpTypeEnum

[53:14] static extends: object

Generated integer conversion helper for GIR InterpType.

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: PixbufRotationEnum

[179:14] static extends: object

Generated integer conversion helper for GIR PixbufRotation.

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: Colorspace

[11:6] static extends: object

Generated enum for GIR symbol Colorspace.

Members

  • rgb

class: PixbufError

[119:6] static extends: object

Generated enum for GIR symbol PixbufError.

Members

  • corrupt_image
  • insufficient_memory
  • bad_option
  • unknown_type
  • unsupported_operation
  • failed
  • incomplete_animation