Ocgtk_gdk.Gdk_enumstype axisuse = [ | `IGNOREthe axis is used as the x axis.
*)| `Xthe axis is used as the y axis.
*)| `Ythe axis is used as the scroll x delta
*)| `DELTA_Xthe axis is used as the scroll y delta
*)| `DELTA_Ythe axis is used for pressure information.
*)| `PRESSUREthe axis is used for x tilt information.
*)| `XTILTthe axis is used for y tilt information.
*)| `YTILTthe axis is used for wheel information.
*)| `WHEELthe axis is used for pen/tablet distance information
*)| `DISTANCEthe axis is used for pen rotation information
*)| `ROTATIONthe axis is used for pen slider information
*)| `SLIDERa constant equal to the numerically highest axis value.
*)| `LAST ]val axisuse_of_int : int -> axisuseval axisuse_to_int : axisuse -> inttype crossingmode = [ | `NORMALcrossing because a grab is activated.
*)| `GRABcrossing because a grab is deactivated.
*)| `UNGRABcrossing because a GTK grab is activated.
*)| `GTK_GRABcrossing because a GTK grab is deactivated.
*)| `GTK_UNGRABcrossing because a GTK widget changed state (e.g. sensitivity).
*)| `STATE_CHANGEDcrossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.
*)| `TOUCH_BEGINcrossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.
*)| `TOUCH_ENDcrossing 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.
*)| `DEVICE_SWITCH ]val crossingmode_of_int : int -> crossingmodeval crossingmode_to_int : crossingmode -> intval devicepadfeature_of_int : int -> devicepadfeatureval devicepadfeature_to_int : devicepadfeature -> intval devicetooltype_of_int : int -> devicetooltypeval devicetooltype_to_int : devicetooltype -> intval dmabuferror_of_int : int -> dmabuferrorval dmabuferror_to_int : dmabuferror -> intval dragcancelreason_of_int : int -> dragcancelreasonval dragcancelreason_to_int : dragcancelreason -> inttype eventtype = [ | `DELETEthe pointer (usually a mouse) has moved.
*)| `MOTION_NOTIFYa mouse button has been pressed.
*)| `BUTTON_PRESSa mouse button has been released.
*)| `BUTTON_RELEASEa key has been pressed.
*)| `KEY_PRESSa key has been released.
*)| `KEY_RELEASEthe pointer has entered the surface.
*)| `ENTER_NOTIFYthe pointer has left the surface.
*)| `LEAVE_NOTIFYthe keyboard focus has entered or left the surface.
*)| `FOCUS_CHANGEan input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).
*)| `PROXIMITY_INan input device has moved out of contact with a sensing surface.
*)| `PROXIMITY_OUTthe mouse has entered the surface while a drag is in progress.
*)| `DRAG_ENTERthe mouse has left the surface while a drag is in progress.
*)| `DRAG_LEAVEthe mouse has moved in the surface while a drag is in progress.
*)| `DRAG_MOTIONa drop operation onto the surface has started.
*)| `DROP_STARTthe scroll wheel was turned
*)| `SCROLLa pointer or keyboard grab was broken.
*)| `GRAB_BROKENA new touch event sequence has just started.
*)| `TOUCH_BEGINA touch event sequence has been updated.
*)| `TOUCH_UPDATEA touch event sequence has finished.
*)| `TOUCH_ENDA touch event sequence has been canceled.
*)| `TOUCH_CANCELA touchpad swipe gesture event, the current state is determined by its phase field.
*)| `TOUCHPAD_SWIPEA touchpad pinch gesture event, the current state is determined by its phase field.
*)| `TOUCHPAD_PINCHA tablet pad button press event.
*)| `PAD_BUTTON_PRESSA tablet pad button release event.
*)| `PAD_BUTTON_RELEASEA tablet pad axis event from a "ring".
*)| `PAD_RINGA tablet pad axis event from a "strip".
*)| `PAD_STRIPA tablet pad group mode change.
*)| `PAD_GROUP_MODEA touchpad hold gesture event, the current state is determined by its phase field.
*)| `TOUCHPAD_HOLDmarks the end of the GdkEventType enumeration.
*)| `EVENT_LAST ]val eventtype_of_int : int -> eventtypeval eventtype_to_int : eventtype -> intval fullscreenmode_of_int : int -> fullscreenmodeval fullscreenmode_to_int : fullscreenmode -> intval glerror_of_int : int -> glerrorval glerror_to_int : glerror -> inttype gravity = [ | `NORTH_WESTthe reference point is in the middle of the top edge.
*)| `NORTHthe reference point is at the top right corner.
*)| `NORTH_EASTthe reference point is at the middle of the left edge.
*)| `WESTthe reference point is at the center of the surface.
*)| `CENTERthe reference point is at the middle of the right edge.
*)| `EASTthe reference point is at the lower left corner.
*)| `SOUTH_WESTthe reference point is at the middle of the lower edge.
*)| `SOUTHthe reference point is at the lower right corner.
*)| `SOUTH_EASTthe reference point is at the top left corner of the surface itself, ignoring window manager decorations.
*)| `STATIC ]val gravity_of_int : int -> gravityval gravity_to_int : gravity -> inttype inputsource = [ | `MOUSEthe device is a stylus of a graphics tablet or similar device.
*)| `PENthe device is a keyboard.
*)| `KEYBOARDthe device is a direct-input touch device, such as a touchscreen or tablet
*)| `TOUCHSCREENthe device is an indirect touch device, such as a touchpad
*)| `TOUCHPADthe device is a trackpoint
*)| `TRACKPOINTthe device is a "pad", a collection of buttons, rings and strips found in drawing tablets
*)| `TABLET_PAD ]val inputsource_of_int : int -> inputsourceval inputsource_to_int : inputsource -> intval keymatch_of_int : int -> keymatchval keymatch_to_int : keymatch -> inttype memoryformat = [ | `B8G8R8A8_PREMULTIPLIED4 bytes; for alpha, red, green, blue. The color values are premultiplied with the alpha value.
*)| `A8R8G8B8_PREMULTIPLIED4 bytes; for red, green, blue, alpha The color values are premultiplied with the alpha value.
*)| `R8G8B8A8_PREMULTIPLIED4 bytes; for blue, green, red, alpha.
*)| `B8G8R8A84 bytes; for alpha, red, green, blue.
*)| `A8R8G8B84 bytes; for red, green, blue, alpha.
*)| `R8G8B8A84 bytes; for alpha, blue, green, red.
*)| `A8B8G8R83 bytes; for red, green, blue. The data is opaque.
*)| `R8G8B83 bytes; for blue, green, red. The data is opaque.
*)| `B8G8R83 guint16 values; for red, green, blue.
*)| `R16G16B164 guint16 values; for red, green, blue, alpha. The color values are premultiplied with the alpha value.
*)| `R16G16B16A16_PREMULTIPLIED4 guint16 values; for red, green, blue, alpha.
*)| `R16G16B16A163 half-float values; for red, green, blue. The data is opaque.
*)| `R16G16B16_FLOAT4 half-float values; for red, green, blue and alpha. The color values are premultiplied with the alpha value.
*)| `R16G16B16A16_FLOAT_PREMULTIPLIED4 half-float values; for red, green, blue and alpha.
*)| `R16G16B16A16_FLOAT3 float values; for red, green, blue.
*)| `R32G32B32_FLOAT4 float values; for red, green, blue and alpha. The color values are premultiplied with the alpha value.
*)| `R32G32B32A32_FLOAT_PREMULTIPLIED4 float values; for red, green, blue and alpha.
*)| `R32G32B32A32_FLOAT2 bytes; for grayscale, alpha. The color values are premultiplied with the alpha value.
*)| `G8A8_PREMULTIPLIED2 bytes; for grayscale, alpha.
*)| `G8A8One byte; for grayscale. The data is opaque.
*)| `G82 guint16 values; for grayscale, alpha. The color values are premultiplied with the alpha value.
*)| `G16A16_PREMULTIPLIED2 guint16 values; for grayscale, alpha.
*)| `G16A16One guint16 value; for grayscale. The data is opaque.
*)| `G16One byte; for alpha.
*)| `A8One guint16 value; for alpha.
*)| `A16One half-float value; for alpha.
*)| `A16_FLOATOne float value; for alpha.
*)| `A32_FLOAT4 bytes; for alpha, blue, green, red, The color values are premultiplied with the alpha value.
*)| `A8B8G8R8_PREMULTIPLIED4 bytes; for blue, green, red, unused.
*)| `B8G8R8X84 bytes; for unused, red, green, blue.
*)| `X8R8G8B84 bytes; for red, green, blue, unused.
*)| `R8G8B8X84 bytes; for unused, blue, green, red.
*)| `X8B8G8R8The number of formats. This value will change as more formats get added, so do not rely on its concrete integer.
*)| `N_FORMATS ]val memoryformat_of_int : int -> memoryformatval memoryformat_to_int : memoryformat -> inttype notifytype = [ | `ANCESTORthe pointer moves between an ancestor and an inferior of the surface.
*)| `VIRTUALthe surface is entered from an inferior or left towards an inferior.
*)| `INFERIORthe surface is entered from or left towards a surface which is neither an ancestor nor an inferior.
*)| `NONLINEARthe 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.
*)| `NONLINEAR_VIRTUALan unknown type of enter/leave event occurred.
*)| `UNKNOWN ]val notifytype_of_int : int -> notifytypeval notifytype_to_int : notifytype -> intval scrolldirection_of_int : int -> scrolldirectionval scrolldirection_to_int : scrolldirection -> intval scrollunit_of_int : int -> scrollunitval scrollunit_to_int : scrollunit -> inttype subpixellayout = [ | `UNKNOWNNot organized in this way
*)| `NONEThe layout is horizontal, the order is RGB
*)| `HORIZONTAL_RGBThe layout is horizontal, the order is BGR
*)| `HORIZONTAL_BGRThe layout is vertical, the order is RGB
*)| `VERTICAL_RGBThe layout is vertical, the order is BGR
*)| `VERTICAL_BGR ]val subpixellayout_of_int : int -> subpixellayoutval subpixellayout_to_int : subpixellayout -> intval surfaceedge_of_int : int -> surfaceedgeval surfaceedge_to_int : surfaceedge -> intval textureerror_of_int : int -> textureerrorval textureerror_to_int : textureerror -> intval titlebargesture_of_int : int -> titlebargestureval titlebargesture_to_int : titlebargesture -> intval touchpadgesturephase_of_int : int -> touchpadgesturephaseval touchpadgesturephase_to_int : touchpadgesturephase -> intval vulkanerror_of_int : int -> vulkanerrorval vulkanerror_to_int : vulkanerror -> inttype anchorhints_flag = [ | `FLIP_Xallow flipping anchors vertically
*)| `FLIP_Yallow sliding surface horizontally
*)| `SLIDE_Xallow sliding surface vertically
*)| `SLIDE_Yallow resizing surface horizontally
*)| `RESIZE_Xallow resizing surface vertically
*)| `RESIZE_Yallow flipping anchors on both axes
*)| `FLIPallow sliding surface on both axes
*)| `SLIDEallow resizing surface on both axes
*)| `RESIZE ]type anchorhints = anchorhints_flag listval anchorhints_of_int : int -> anchorhintsval anchorhints_to_int : anchorhints -> inttype axisflags_flag = [ | `XY axis is present
*)| `YScroll X delta axis is present
*)| `DELTA_XScroll Y delta axis is present
*)| `DELTA_YPressure axis is present
*)| `PRESSUREX tilt axis is present
*)| `XTILTY tilt axis is present
*)| `YTILTWheel axis is present
*)| `WHEELDistance axis is present
*)| `DISTANCEZ-axis rotation is present
*)| `ROTATIONSlider axis is present
*)| `SLIDER ]type axisflags = axisflags_flag listval axisflags_of_int : int -> axisflagsval axisflags_to_int : axisflags -> inttype dragaction_flag = [ | `COPYMove the data, i.e. first copy it, then delete it from the source using the DELETE target of the X selection protocol.
*)| `MOVEAdd a link to the data. Note that this is only useful if source and destination agree on what it means, and is not supported on all platforms.
*)| `LINKAsk the user what to do with the data.
*)| `ASK ]type dragaction = dragaction_flag listval dragaction_of_int : int -> dragactionval dragaction_to_int : dragaction -> inttype frameclockphase_flag = [ | `NONEcorresponds to GdkFrameClock::flush-events. Should not be handled by applications.
*)| `FLUSH_EVENTScorresponds to GdkFrameClock::before-paint. Should not be handled by applications.
*)| `BEFORE_PAINTcorresponds to GdkFrameClock::update.
*)| `UPDATEcorresponds to GdkFrameClock::layout. Should not be handled by applications.
*)| `LAYOUTcorresponds to GdkFrameClock::paint.
*)| `PAINTcorresponds to GdkFrameClock::resume-events. Should not be handled by applications.
*)| `RESUME_EVENTScorresponds to GdkFrameClock::after-paint. Should not be handled by applications.
*)| `AFTER_PAINT ]type frameclockphase = frameclockphase_flag listval frameclockphase_of_int : int -> frameclockphaseval frameclockphase_to_int : frameclockphase -> inttype glapi = glapi_flag listval glapi_of_int : int -> glapival glapi_to_int : glapi -> inttype modifiertype_flag = [ | `NO_MODIFIER_MASKthe Shift key.
*)| `SHIFT_MASKa Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock).
*)| `LOCK_MASKthe Control key.
*)| `CONTROL_MASKthe fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).
*)| `ALT_MASKthe first mouse button.
*)| `BUTTON1_MASKthe second mouse button.
*)| `BUTTON2_MASKthe third mouse button.
*)| `BUTTON3_MASKthe fourth mouse button.
*)| `BUTTON4_MASKthe fifth mouse button.
*)| `BUTTON5_MASKthe Super modifier
*)| `SUPER_MASKthe Hyper modifier
*)| `HYPER_MASKthe Meta modifier
*)| `META_MASK ]type modifiertype = modifiertype_flag listval modifiertype_of_int : int -> modifiertypeval modifiertype_to_int : modifiertype -> inttype paintableflags = paintableflags_flag listval paintableflags_of_int : int -> paintableflagsval paintableflags_to_int : paintableflags -> inttype seatcapabilities_flag = [ | `NONEThe seat has a pointer (e.g. mouse)
*)| `POINTERThe seat has touchscreen(s) attached
*)| `TOUCHThe seat has drawing tablet(s) attached
*)| `TABLET_STYLUSThe seat has keyboard(s) attached
*)| `KEYBOARDThe seat has drawing tablet pad(s) attached
*)| `TABLET_PADThe union of all pointing capabilities
*)| `ALL_POINTINGThe union of all capabilities
*)| `ALL ]type seatcapabilities = seatcapabilities_flag listval seatcapabilities_of_int : int -> seatcapabilitiesval seatcapabilities_to_int : seatcapabilities -> inttype toplevelstate_flag = [ | `MINIMIZEDthe surface is maximized
*)| `MAXIMIZEDthe surface is sticky
*)| `STICKYthe surface is maximized without decorations
*)| `FULLSCREENthe surface is kept above other surfaces
*)| `ABOVEthe surface is kept below other surfaces
*)| `BELOWthe surface is presented as focused (with active decorations)
*)| `FOCUSEDthe surface is in a tiled state
*)| `TILEDwhether the top edge is tiled
*)| `TOP_TILEDwhether the top edge is resizable
*)| `TOP_RESIZABLEwhether the right edge is tiled
*)| `RIGHT_TILEDwhether the right edge is resizable
*)| `RIGHT_RESIZABLEwhether the bottom edge is tiled
*)| `BOTTOM_TILEDwhether the bottom edge is resizable
*)| `BOTTOM_RESIZABLEwhether the left edge is tiled
*)| `LEFT_TILEDwhether the left edge is resizable
*)| `LEFT_RESIZABLEthe surface is not visible to the user
*)| `SUSPENDED ]type toplevelstate = toplevelstate_flag listval toplevelstate_of_int : int -> toplevelstateval toplevelstate_to_int : toplevelstate -> int