Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: InputSource

[638:6] static extends: object

Generated enum for GIR symbol InputSource.

Members

  • mouse
  • pen
  • keyboard
  • touchscreen
  • touchpad
  • trackpoint
  • tablet_pad

class: CrossingMode

[155:6] static extends: object

Generated enum for GIR symbol CrossingMode.

Members

  • normal
  • grab
  • ungrab
  • gtk_grab
  • gtk_ungrab
  • state_changed
  • touch_begin
  • touch_end
  • device_switch

class: ScrollDirectionEnum

[1029:14] static extends: object

Generated integer conversion helper for GIR ScrollDirection.

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

[378:6] static extends: object

Generated enum for GIR symbol EventType.

Members

  • delete
  • motion_notify
  • button_press
  • button_release
  • key_press
  • key_release
  • enter_notify
  • leave_notify
  • focus_change
  • proximity_in
  • proximity_out
  • drag_enter
  • drag_leave
  • drag_motion
  • drop_start
  • scroll
  • grab_broken
  • touch_begin
  • touch_update
  • touch_end
  • touch_cancel
  • touchpad_swipe
  • touchpad_pinch
  • pad_button_press
  • pad_button_release
  • pad_ring
  • pad_strip
  • pad_group_mode
  • touchpad_hold
  • pad_dial
  • event_last

class: InputSourceEnum

[651:14] static extends: object

Generated integer conversion helper for GIR InputSource.

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

[1071:14] static extends: object

Generated integer conversion helper for GIR ScrollRelativeDirection.

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

[263:14] static extends: object

Generated integer conversion helper for GIR DeviceToolType.

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

[500:6] static extends: object

Generated enum for GIR symbol FullscreenMode.

Members

  • current_monitor
  • all_monitors

class: GLErrorEnum

[546:14] static extends: object

Generated integer conversion helper for GIR GLError.

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

[726:6] static extends: object

Generated enum for GIR symbol MemoryFormat.

Members

  • b8g8r8a8_premultiplied
  • a8r8g8b8_premultiplied
  • r8g8b8a8_premultiplied
  • b8g8r8a8
  • a8r8g8b8
  • r8g8b8a8
  • a8b8g8r8
  • r8g8b8
  • b8g8r8
  • r16g16b16
  • r16g16b16a16_premultiplied
  • r16g16b16a16
  • r16g16b16_float
  • r16g16b16a16_float_premultiplied
  • r16g16b16a16_float
  • r32g32b32_float
  • r32g32b32a32_float_premultiplied
  • r32g32b32a32_float
  • g8a8_premultiplied
  • g8a8
  • g8
  • g16a16_premultiplied
  • g16a16
  • g16
  • a8
  • a16
  • a16_float
  • a32_float
  • a8b8g8r8_premultiplied
  • b8g8r8x8
  • x8r8g8b8
  • r8g8b8x8
  • x8b8g8r8
  • g8_b8r8_420
  • g8_r8b8_420
  • g8_b8r8_422
  • g8_r8b8_422
  • g8_b8r8_444
  • g8_r8b8_444
  • g10x6_b10x6r10x6_420
  • g12x4_b12x4r12x4_420
  • g16_b16r16_420
  • g8_b8_r8_410
  • g8_r8_b8_410
  • g8_b8_r8_411
  • g8_r8_b8_411
  • g8_b8_r8_420
  • g8_r8_b8_420
  • g8_b8_r8_422
  • g8_r8_b8_422
  • g8_b8_r8_444
  • g8_r8_b8_444
  • g8b8g8r8_422
  • g8r8g8b8_422
  • r8g8b8g8_422
  • b8g8r8g8_422
  • x6g10_x6b10_x6r10_420
  • x6g10_x6b10_x6r10_422
  • x6g10_x6b10_x6r10_444
  • x4g12_x4b12_x4r12_420
  • x4g12_x4b12_x4r12_422
  • x4g12_x4b12_x4r12_444
  • g16_b16_r16_420
  • g16_b16_r16_422
  • g16_b16_r16_444
  • argb2101010_premultiplied
  • argb2101010
  • xrgb2101010
  • abgr2101010_premultiplied
  • abgr2101010
  • xbgr2101010
  • n_formats

class: CicpRange

[79:6] static extends: object

Generated enum for GIR symbol CicpRange.

Members

  • narrow
  • full

class: TitlebarGestureEnum

[1285:14] static extends: object

Generated integer conversion helper for GIR TitlebarGesture.

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

[114:6] static extends: object

Generated enum for GIR symbol ColorChannel.

Members

  • red
  • green
  • blue
  • alpha

class: DevicePadFeature

[211:6] static extends: object

Generated enum for GIR symbol DevicePadFeature.

Members

  • button
  • ring
  • strip

class: NotifyType

[971:6] static extends: object

Generated enum for GIR symbol NotifyType.

Members

  • ancestor
  • virtual
  • inferior
  • nonlinear
  • nonlinear_virtual
  • unknown

class: ScrollUnitEnum

[1108:14] static extends: object

Generated integer conversion helper for GIR ScrollUnit.

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

[1355:6] static extends: object

Generated enum for GIR symbol VulkanError.

Members

  • unsupported
  • not_available

class: NotifyTypeEnum

[983:14] static extends: object

Generated integer conversion helper for GIR NotifyType.

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

[1182:6] static extends: object

Generated enum for GIR symbol SurfaceEdge.

Members

  • north_west
  • north
  • north_east
  • west
  • east
  • south_west
  • south
  • south_east

class: GLError

[535:6] static extends: object

Generated enum for GIR symbol GLError.

Members

  • not_available
  • unsupported_format
  • unsupported_profile
  • compilation_failed
  • link_failed

class: AxisUse

[11:6] static extends: object

Generated enum for GIR symbol AxisUse.

Members

  • ignore
  • x
  • y
  • delta_x
  • delta_y
  • pressure
  • xtilt
  • ytilt
  • wheel
  • distance
  • rotation
  • slider
  • last

class: AxisUseEnum

[30:14] static extends: object

Generated integer conversion helper for GIR AxisUse.

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

[1147:14] static extends: object

Generated integer conversion helper for GIR SubpixelLayout.

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

[508:14] static extends: object

Generated integer conversion helper for GIR FullscreenMode.

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

[1245:14] static extends: object

Generated integer conversion helper for GIR TextureError.

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

[349:14] static extends: object

Generated integer conversion helper for GIR DragCancelReason.

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

[1363:14] static extends: object

Generated integer conversion helper for GIR VulkanError.

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

[302:6] static extends: object

Generated enum for GIR symbol DmabufError.

Members

  • not_available
  • unsupported_format
  • creation_failed

class: ScrollDirection

[1018:6] static extends: object

Generated enum for GIR symbol ScrollDirection.

Members

  • up
  • down
  • left
  • right
  • smooth

class: TouchpadGesturePhaseEnum

[1324:14] static extends: object

Generated integer conversion helper for GIR TouchpadGesturePhase.

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

[220:14] static extends: object

Generated integer conversion helper for GIR DevicePadFeature.

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

[1196:14] static extends: object

Generated integer conversion helper for GIR SurfaceEdge.

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

[595: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: DragCancelReason

[340:6] static extends: object

Generated enum for GIR symbol DragCancelReason.

Members

  • no_target
  • user_cancelled
  • error

class: ScrollUnit

[1100:6] static extends: object

Generated enum for GIR symbol ScrollUnit.

Members

  • wheel
  • surface

class: TouchpadGesturePhase

[1314:6] static extends: object

Generated enum for GIR symbol TouchpadGesturePhase.

Members

  • begin
  • update
  • end
  • cancel

class: CrossingModeEnum

[170:14] static extends: object

Generated integer conversion helper for GIR CrossingMode.

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

[579:6] static extends: object

Generated enum for GIR symbol Gravity.

Members

  • north_west
  • north
  • north_east
  • west
  • center
  • east
  • south_west
  • south
  • south_east
  • VALUEStatic

class: MemoryFormatEnum

[804:14] static extends: object

Generated integer conversion helper for GIR MemoryFormat.

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

[249:6] static extends: object

Generated enum for GIR symbol DeviceToolType.

Members

  • unknown
  • pen
  • eraser
  • brush
  • pencil
  • airbrush
  • mouse
  • lens

class: ScrollRelativeDirection

[1062:6] static extends: object

Generated enum for GIR symbol ScrollRelativeDirection.

Members

  • identical
  • inverted
  • unknown

class: KeyMatchEnum

[697:14] static extends: object

Generated integer conversion helper for GIR KeyMatch.

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

[124:14] static extends: object

Generated integer conversion helper for GIR ColorChannel.

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

[1235:6] static extends: object

Generated enum for GIR symbol TextureError.

Members

  • too_large
  • corrupt_image
  • unsupported_content
  • unsupported_format

class: CicpRangeEnum

[87:14] static extends: object

Generated integer conversion helper for GIR CicpRange.

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

[688:6] static extends: object

Generated enum for GIR symbol KeyMatch.

Members

  • none
  • partial
  • exact

class: SubpixelLayout

[1135:6] static extends: object

Generated enum for GIR symbol SubpixelLayout.

Members

  • unknown
  • none
  • horizontal_rgb
  • horizontal_bgr
  • vertical_rgb
  • vertical_bgr

class: EventTypeEnum

[415:14] static extends: object

Generated integer conversion helper for GIR EventType.

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

[311:14] static extends: object

Generated integer conversion helper for GIR DmabufError.

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

[1276:6] static extends: object

Generated enum for GIR symbol TitlebarGesture.

Members

  • double_click
  • right_click
  • middle_click