gi-gdk-4.0.1: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Enums

Description

 
Synopsis

Enumerations

AxisUse

data AxisUse Source #

An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK understands.

Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.

Constructors

AxisUseIgnore

the axis is ignored.

AxisUseX

the axis is used as the x axis.

AxisUseY

the axis is used as the y axis.

AxisUsePressure

the axis is used for pressure information.

AxisUseXtilt

the axis is used for x tilt information.

AxisUseYtilt

the axis is used for y tilt information.

AxisUseWheel

the axis is used for wheel information.

AxisUseDistance

the axis is used for pen/tablet distance information

AxisUseRotation

the axis is used for pen rotation information

AxisUseSlider

the axis is used for pen slider information

AxisUseLast

a constant equal to the numerically highest axis value.

AnotherAxisUse Int

Catch-all for unknown values

Instances

Instances details
Enum AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Eq AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: AxisUse -> AxisUse -> Bool #

(/=) :: AxisUse -> AxisUse -> Bool #

Ord AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Show AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

ByteOrder

data ByteOrder Source #

A set of values describing the possible byte-orders for storing pixel values in memory.

Constructors

ByteOrderLsbFirst

The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00.

ByteOrderMsbFirst

The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xff, 0xee, 0xcc.

AnotherByteOrder Int

Catch-all for unknown values

CrossingMode

data CrossingMode Source #

Specifies the crossing mode for enter and leave events.

Constructors

CrossingModeNormal

crossing because of pointer motion.

CrossingModeGrab

crossing because a grab is activated.

CrossingModeUngrab

crossing because a grab is deactivated.

CrossingModeGtkGrab

crossing because a GTK+ grab is activated.

CrossingModeGtkUngrab

crossing because a GTK+ grab is deactivated.

CrossingModeStateChanged

crossing because a GTK+ widget changed state (e.g. sensitivity).

CrossingModeTouchBegin

crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.

CrossingModeTouchEnd

crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.

CrossingModeDeviceSwitch

crossing because of a device switch (i.e. a mouse taking control of the pointer after a touch device), this event is synthetic as the pointer didn’t leave the surface.

AnotherCrossingMode Int

Catch-all for unknown values

DevicePadFeature

data DevicePadFeature Source #

A pad feature.

Constructors

DevicePadFeatureButton

a button

DevicePadFeatureRing

a ring-shaped interactive area

DevicePadFeatureStrip

a straight interactive area

AnotherDevicePadFeature Int

Catch-all for unknown values

Instances

Instances details
Enum DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Show DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

DeviceToolType

data DeviceToolType Source #

Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.

Constructors

DeviceToolTypeUnknown

Tool is of an unknown type.

DeviceToolTypePen

Tool is a standard tablet stylus.

DeviceToolTypeEraser

Tool is standard tablet eraser.

DeviceToolTypeBrush

Tool is a brush stylus.

DeviceToolTypePencil

Tool is a pencil stylus.

DeviceToolTypeAirbrush

Tool is an airbrush stylus.

DeviceToolTypeMouse

Tool is a mouse.

DeviceToolTypeLens

Tool is a lens cursor.

AnotherDeviceToolType Int

Catch-all for unknown values

DeviceType

data DeviceType Source #

Indicates the device type.

Constructors

DeviceTypeMaster

Device is a master (or virtual) device. There will be an associated focus indicator on the screen.

DeviceTypeSlave

Device is a slave (or physical) device.

DeviceTypeFloating

Device is a physical device, currently not attached to any seat.

AnotherDeviceType Int

Catch-all for unknown values

DragCancelReason

data DragCancelReason Source #

Used in Drag to the reason of a cancelled DND operation.

Constructors

DragCancelReasonNoTarget

There is no suitable drop target.

DragCancelReasonUserCancelled

Drag cancelled by the user

DragCancelReasonError

Unspecified error.

AnotherDragCancelReason Int

Catch-all for unknown values

Instances

Instances details
Enum DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Show DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

EventType

data EventType Source #

Specifies the type of the event.

Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way.

Constructors

EventTypeNothing

a special code to indicate a null event.

EventTypeDelete

the window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.

EventTypeDestroy

the surface has been destroyed.

EventTypeMotionNotify

the pointer (usually a mouse) has moved.

EventTypeButtonPress

a mouse button has been pressed.

EventTypeButtonRelease

a mouse button has been released.

EventTypeKeyPress

a key has been pressed.

EventTypeKeyRelease

a key has been released.

EventTypeEnterNotify

the pointer has entered the surface.

EventTypeLeaveNotify

the pointer has left the surface.

EventTypeFocusChange

the keyboard focus has entered or left the surface.

EventTypeConfigure

the size, position or stacking order of the surface has changed. Note that GTK+ discards these events for SurfaceTypeChild surfaces.

EventTypeProximityIn

an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).

EventTypeProximityOut

an input device has moved out of contact with a sensing surface.

EventTypeDragEnter

the mouse has entered the surface while a drag is in progress.

EventTypeDragLeave

the mouse has left the surface while a drag is in progress.

EventTypeDragMotion

the mouse has moved in the surface while a drag is in progress.

EventTypeDropStart

a drop operation onto the surface has started.

EventTypeScroll

the scroll wheel was turned

EventTypeGrabBroken

a pointer or keyboard grab was broken. This event type was added in 2.8.

EventTypeTouchBegin

A new touch event sequence has just started. This event type was added in 3.4.

EventTypeTouchUpdate

A touch event sequence has been updated. This event type was added in 3.4.

EventTypeTouchEnd

A touch event sequence has finished. This event type was added in 3.4.

EventTypeTouchCancel

A touch event sequence has been canceled. This event type was added in 3.4.

EventTypeTouchpadSwipe

A touchpad swipe gesture event, the current state is determined by its phase field. This event type was added in 3.18.

EventTypeTouchpadPinch

A touchpad pinch gesture event, the current state is determined by its phase field. This event type was added in 3.18.

EventTypePadButtonPress

A tablet pad button press event. This event type was added in 3.22.

EventTypePadButtonRelease

A tablet pad button release event. This event type was added in 3.22.

EventTypePadRing

A tablet pad axis event from a "ring". This event type was added in 3.22.

EventTypePadStrip

A tablet pad axis event from a "strip". This event type was added in 3.22.

EventTypePadGroupMode

A tablet pad group mode change. This event type was added in 3.22.

EventTypeEventLast

marks the end of the GdkEventType enumeration. Added in 2.18

AnotherEventType Int

Catch-all for unknown values

FullscreenMode

data FullscreenMode Source #

Indicates which monitor (in a multi-head setup) a surface should span over when in fullscreen mode.

Constructors

FullscreenModeCurrentMonitor

Fullscreen on current monitor only.

FullscreenModeAllMonitors

Span across all monitors when fullscreen.

AnotherFullscreenMode Int

Catch-all for unknown values

GLError

data GLError Source #

Error enumeration for GLContext.

Constructors

GLErrorNotAvailable

OpenGL support is not available

GLErrorUnsupportedFormat

The requested visual format is not supported

GLErrorUnsupportedProfile

The requested profile is not supported

GLErrorCompilationFailed

The shader compilation failed

GLErrorLinkFailed

The shader linking failed

AnotherGLError Int

Catch-all for unknown values

Instances

Instances details
Enum GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Eq GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: GLError -> GLError -> Bool #

(/=) :: GLError -> GLError -> Bool #

Ord GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Show GLError Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum GLError Source # 
Instance details

Defined in GI.Gdk.Enums

GErrorClass GLError Source # 
Instance details

Defined in GI.Gdk.Enums

catchGLError :: IO a -> (GLError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type GLError. This is a specialized version of catchGErrorJustDomain.

handleGLError :: (GLError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type GLError. This is a specialized version of handleGErrorJustDomain.

GrabOwnership

data GrabOwnership Source #

Defines how device grabs interact with other devices.

Constructors

GrabOwnershipNone

All other devices’ events are allowed.

GrabOwnershipSurface

Other devices’ events are blocked for the grab surface.

GrabOwnershipApplication

Other devices’ events are blocked for the whole application.

AnotherGrabOwnership Int

Catch-all for unknown values

GrabStatus

data GrabStatus Source #

Returned by gdk_device_grab() to indicate success or the reason for the failure of the grab attempt.

Constructors

GrabStatusSuccess

the resource was successfully grabbed.

GrabStatusAlreadyGrabbed

the resource is actively grabbed by another client.

GrabStatusInvalidTime

the resource was grabbed more recently than the specified time.

GrabStatusNotViewable

the grab surface or the confineTo surface are not viewable.

GrabStatusFrozen

the resource is frozen by an active grab of another client.

GrabStatusFailed

the grab failed for some other reason

AnotherGrabStatus Int

Catch-all for unknown values

Gravity

data Gravity Source #

Defines the reference point of a surface and the meaning of coordinates passed to gtk_window_move(). See gtk_window_move() and the "implementation notes" section of the Extended Window Manager Hints specification for more details.

Constructors

GravityNorthWest

the reference point is at the top left corner.

GravityNorth

the reference point is in the middle of the top edge.

GravityNorthEast

the reference point is at the top right corner.

GravityWest

the reference point is at the middle of the left edge.

GravityCenter

the reference point is at the center of the surface.

GravityEast

the reference point is at the middle of the right edge.

GravitySouthWest

the reference point is at the lower left corner.

GravitySouth

the reference point is at the middle of the lower edge.

GravitySouthEast

the reference point is at the lower right corner.

GravityStatic

the reference point is at the top left corner of the surface itself, ignoring window manager decorations.

AnotherGravity Int

Catch-all for unknown values

Instances

Instances details
Enum Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Eq Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: Gravity -> Gravity -> Bool #

(/=) :: Gravity -> Gravity -> Bool #

Ord Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Show Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

InputMode

data InputMode Source #

An enumeration that describes the mode of an input device.

Constructors

InputModeDisabled

the device is disabled and will not report any events.

InputModeScreen

the device is enabled. The device’s coordinate space maps to the entire screen.

InputModeSurface

the device is enabled. The device’s coordinate space is mapped to a single surface. The manner in which this surface is chosen is undefined, but it will typically be the same way in which the focus surface for key events is determined.

AnotherInputMode Int

Catch-all for unknown values

InputSource

data InputSource Source #

An enumeration describing the type of an input device in general terms.

Constructors

InputSourceMouse

the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.)

InputSourcePen

the device is a stylus of a graphics tablet or similar device.

InputSourceEraser

the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.

InputSourceCursor

the device is a graphics tablet “puck” or similar device.

InputSourceKeyboard

the device is a keyboard.

InputSourceTouchscreen

the device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.

InputSourceTouchpad

the device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.

InputSourceTrackpoint

the device is a trackpoint. This device type has been added in 3.22

InputSourceTabletPad

the device is a "pad", a collection of buttons, rings and strips found in drawing tablets. This device type has been added in 3.22.

AnotherInputSource Int

Catch-all for unknown values

MemoryFormat

data MemoryFormat Source #

MemoryFormat describes a format that bytes can have in memory.

It describes formats by listing the contents of the memory passed to it. So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a byte each of red, green and blue. It is not endian-dependent, so CAIRO_FORMAT_ARGB32 is represented by different GdkMemoryFormats on architectures with different endiannesses.

Its naming is modelled after VkFormat (see https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.htmlVkFormat for details).

Constructors

MemoryFormatB8g8r8a8Premultiplied

4 bytes; for blue, green, red, alpha. The color values are premultiplied with the alpha value.

MemoryFormatA8r8g8b8Premultiplied

4 bytes; for alpha, red, green, blue. The color values are premultiplied with the alpha value.

MemoryFormatB8g8r8a8

4 bytes; for blue, green, red, alpha.

MemoryFormatA8r8g8b8

4 bytes; for alpha, red, green, blue.

MemoryFormatR8g8b8a8

4 bytes; for red, green, blue, alpha.

MemoryFormatA8b8g8r8

4 bytes; for alpha, blue, green, red.

MemoryFormatR8g8b8

3 bytes; for red, green, blue. The data is opaque.

MemoryFormatB8g8r8

3 bytes; for blue, green, red. The data is opaque.

MemoryFormatNFormats

The number of formats. This value will change as more formats get added, so do not rely on its concrete integer.

AnotherMemoryFormat Int

Catch-all for unknown values

ModifierIntent

data ModifierIntent Source #

This enum is used with keymapGetModifierMask in order to determine what modifiers the currently used windowing system backend uses for particular purposes. For example, on X11/Windows, the Control key is used for invoking menu shortcuts (accelerators), whereas on Apple computers it’s the Command key (which correspond to ModifierTypeControlMask and ModifierTypeMod2Mask, respectively).

Constructors

ModifierIntentPrimaryAccelerator

the primary modifier used to invoke menu accelerators.

ModifierIntentContextMenu

the modifier used to invoke context menus. Note that mouse button 3 always triggers context menus. When this modifier is not 0, it additionally triggers context menus when used with mouse button 1.

ModifierIntentExtendSelection

the modifier used to extend selections using modifier-click or modifier-cursor-key

ModifierIntentModifySelection

the modifier used to modify selections, which in most cases means toggling the clicked item into or out of the selection.

ModifierIntentNoTextInput

when any of these modifiers is pressed, the key event cannot produce a symbol directly. This is meant to be used for input methods, and for use cases like typeahead search.

ModifierIntentShiftGroup

the modifier that switches between keyboard groups (AltGr on X11/Windows and Option/Alt on OS X).

ModifierIntentDefaultModMask

The set of modifier masks accepted as modifiers in accelerators. Needed because Command is mapped to MOD2 on OSX, which is widely used, but on X11 MOD2 is NumLock and using that for a mod key is problematic at best. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=736125.

AnotherModifierIntent Int

Catch-all for unknown values

NotifyType

data NotifyType Source #

Specifies the kind of crossing for enter and leave events.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

Constructors

NotifyTypeAncestor

the surface is entered from an ancestor or left towards an ancestor.

NotifyTypeVirtual

the pointer moves between an ancestor and an inferior of the surface.

NotifyTypeInferior

the surface is entered from an inferior or left towards an inferior.

NotifyTypeNonlinear

the surface is entered from or left towards a surface which is neither an ancestor nor an inferior.

NotifyTypeNonlinearVirtual

the pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.

NotifyTypeUnknown

an unknown type of enter/leave event occurred.

AnotherNotifyType Int

Catch-all for unknown values

ScrollDirection

data ScrollDirection Source #

Specifies the direction for scroll events.

Constructors

ScrollDirectionUp

the surface is scrolled up.

ScrollDirectionDown

the surface is scrolled down.

ScrollDirectionLeft

the surface is scrolled to the left.

ScrollDirectionRight

the surface is scrolled to the right.

ScrollDirectionSmooth

the scrolling is determined by the delta values in scroll events. See eventGetScrollDeltas

AnotherScrollDirection Int

Catch-all for unknown values

Instances

Instances details
Enum ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Eq ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Ord ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Show ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

SubpixelLayout

data SubpixelLayout Source #

This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.

Constructors

SubpixelLayoutUnknown

The layout is not known

SubpixelLayoutNone

Not organized in this way

SubpixelLayoutHorizontalRgb

The layout is horizontal, the order is RGB

SubpixelLayoutHorizontalBgr

The layout is horizontal, the order is BGR

SubpixelLayoutVerticalRgb

The layout is vertical, the order is RGB

SubpixelLayoutVerticalBgr

The layout is vertical, the order is BGR

AnotherSubpixelLayout Int

Catch-all for unknown values

SurfaceEdge

data SurfaceEdge Source #

Determines a surface edge or corner.

Constructors

SurfaceEdgeNorthWest

the top left corner.

SurfaceEdgeNorth

the top edge.

SurfaceEdgeNorthEast

the top right corner.

SurfaceEdgeWest

the left edge.

SurfaceEdgeEast

the right edge.

SurfaceEdgeSouthWest

the lower left corner.

SurfaceEdgeSouth

the lower edge.

SurfaceEdgeSouthEast

the lower right corner.

AnotherSurfaceEdge Int

Catch-all for unknown values

SurfaceType

data SurfaceType Source #

Describes the kind of surface.

Constructors

SurfaceTypeToplevel

toplevel window (used to implement GtkWindow)

SurfaceTypeChild

child surface (used to implement e.g. GtkEntry)

SurfaceTypeTemp

override redirect temporary surface (used to implement GtkMenu)

AnotherSurfaceType Int

Catch-all for unknown values

SurfaceTypeHint

data SurfaceTypeHint Source #

These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.

See the Extended Window Manager Hints specification for more details about window types.

Constructors

SurfaceTypeHintNormal

Normal toplevel window.

SurfaceTypeHintDialog

Dialog window.

SurfaceTypeHintMenu

Window used to implement a menu; GTK uses this hint only for torn-off menus, see GtkTearoffMenuItem.

SurfaceTypeHintToolbar

Window used to implement toolbars.

SurfaceTypeHintSplashscreen

Window used to display a splash screen during application startup.

SurfaceTypeHintUtility

Utility windows which are not detached toolbars or dialogs.

SurfaceTypeHintDock

Used for creating dock or panel windows.

SurfaceTypeHintDesktop

Used for creating the desktop background window.

SurfaceTypeHintDropdownMenu

A menu that belongs to a menubar.

SurfaceTypeHintPopupMenu

A menu that does not belong to a menubar, e.g. a context menu.

SurfaceTypeHintTooltip

A tooltip.

SurfaceTypeHintNotification

A notification - typically a “bubble” that belongs to a status icon.

SurfaceTypeHintCombo

A popup from a combo box.

SurfaceTypeHintDnd

A window that is used to implement a DND cursor.

AnotherSurfaceTypeHint Int

Catch-all for unknown values

Instances

Instances details
Enum SurfaceTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Eq SurfaceTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Ord SurfaceTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Show SurfaceTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum SurfaceTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

TouchpadGesturePhase

data TouchpadGesturePhase Source #

Specifies the current state of a touchpad gesture. All gestures are guaranteed to begin with an event with phase TouchpadGesturePhaseBegin, followed by 0 or several events with phase TouchpadGesturePhaseUpdate.

A finished gesture may have 2 possible outcomes, an event with phase TouchpadGesturePhaseEnd will be emitted when the gesture is considered successful, this should be used as the hint to perform any permanent changes.

Cancelled gestures may be so for a variety of reasons, due to hardware or the compositor, or due to the gesture recognition layers hinting the gesture did not finish resolutely (eg. a 3rd finger being added during a pinch gesture). In these cases, the last event will report the phase TouchpadGesturePhaseCancel, this should be used as a hint to undo any visible/permanent changes that were done throughout the progress of the gesture.

Constructors

TouchpadGesturePhaseBegin

The gesture has begun.

TouchpadGesturePhaseUpdate

The gesture has been updated.

TouchpadGesturePhaseEnd

The gesture was finished, changes should be permanently applied.

TouchpadGesturePhaseCancel

The gesture was cancelled, all changes should be undone.

AnotherTouchpadGesturePhase Int

Catch-all for unknown values

Instances

Instances details
Enum TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Eq TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Ord TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Show TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

VulkanError

data VulkanError Source #

Error enumeration for VulkanContext.

Constructors

VulkanErrorUnsupported

Vulkan is not supported on this backend or has not been compiled in.

VulkanErrorNotAvailable

Vulkan support is not available on this Surface

AnotherVulkanError Int

Catch-all for unknown values

catchVulkanError :: IO a -> (VulkanError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type VulkanError. This is a specialized version of catchGErrorJustDomain.

handleVulkanError :: (VulkanError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type VulkanError. This is a specialized version of handleGErrorJustDomain.