{-# LINE 2 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- -*-haskell-*--- GIMP Toolkit (GTK) Enumerations---- Author : Manuel M. T. Chakravarty, Axel Simon---- Created: 13 Januar 1999---- Copyright (C) 1999-2005 Manuel M. T. Chakravarty, Axel Simon---- This library is free software; you can redistribute it and/or-- modify it under the terms of the GNU Lesser General Public-- License as published by the Free Software Foundation; either-- version 2.1 of the License, or (at your option) any later version.---- This library is distributed in the hope that it will be useful,-- but WITHOUT ANY WARRANTY; without even the implied warranty of-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU-- Lesser General Public License for more details.---- |-- Maintainer : gtk2hs-users@lists.sourceforge.net-- Stability : provisional-- Portability : portable (depends on GHC)---- General enumeration types.--moduleGraphics.UI.Gtk.Gdk.Enums(CapStyle(..),CrossingMode(..),Dither(..),DragProtocol(..),DragAction(..),EventMask(..),Modifier(..),ExtensionMode(..),Fill(..),Function(..),InputCondition(..),JoinStyle(..),LineStyle(..),NotifyType(..),ScrollDirection(..),SubwindowMode(..),VisibilityState(..),WindowState(..),WindowEdge(..),WindowTypeHint(..),Gravity(..),GrabStatus(..),OwnerChange(..),)whereimportSystem.Glib.Flags(Flags){-# LINE 59 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Specify the how the ends of a line is drawn.--dataCapStyle=CapNotLast|CapButt|CapRound|CapProjectingderiving(Enum,Eq,Show){-# LINE 63 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | How focus is crossing the widget.--dataCrossingMode=CrossingNormal|CrossingGrab|CrossingUngrab|CrossingGtkGrab|CrossingGtkUngrab|CrossingStateChangedderiving(Enum,Eq,Show){-# LINE 67 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Used in 'Graphics.UI.Gtk.Gdk.Drag.DragContext' to indicate the protocol according to which DND is done.--dataDragProtocol=DragProtoMotif|DragProtoXdnd|DragProtoRootwin|DragProtoNone|DragProtoWin32Dropfiles|DragProtoOle2|DragProtoLocalderiving(Enum,Eq,Bounded,Show){-# LINE 71 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Used in 'Graphics.UI.Gtk.Genearl.Drag.DragContext' to indicate what the-- destination should do with the dropped data.---- * 'ActionDefault': Initialisation value, should not be used.---- * 'ActionCopy': Copy the data.---- * 'ActionMove': Move the data, i.e. first copy it, then delete it from the source.---- * 'ActionLink': Add a link to the data. Note that this is only useful if source and-- destination agree on what it means.---- * 'ActionPrivate': Special action which tells the source that the destination will do-- something that the source doesn't understand.---- * 'ActionAsk': Ask the user what to do with the data.--dataDragAction=ActionDefault|ActionCopy|ActionMove|ActionLink|ActionPrivate|ActionAskderiving(Eq,Bounded,Show)instanceEnumDragActionwherefromEnumActionDefault=1fromEnumActionCopy=2fromEnumActionMove=4fromEnumActionLink=8fromEnumActionPrivate=16fromEnumActionAsk=32toEnum1=ActionDefaulttoEnum2=ActionCopytoEnum4=ActionMovetoEnum8=ActionLinktoEnum16=ActionPrivatetoEnum32=ActionAsktoEnumunmatched=error("DragAction.toEnum: Cannot match "++showunmatched)succActionDefault=ActionCopysuccActionCopy=ActionMovesuccActionMove=ActionLinksuccActionLink=ActionPrivatesuccActionPrivate=ActionAsksucc_=undefinedpredActionCopy=ActionDefaultpredActionMove=ActionCopypredActionLink=ActionMovepredActionPrivate=ActionLinkpredActionAsk=ActionPrivatepred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxActionAskenumFromThen__=error"Enum DragAction: enumFromThen not implemented"enumFromThenTo___=error"Enum DragAction: enumFromThenTo not implemented"{-# LINE 91 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsDragAction-- | Specify how to dither colors onto the screen.--dataDither=RgbDitherNone|RgbDitherNormal|RgbDitherMaxderiving(Enum,Eq,Show){-# LINE 97 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Specify which events a widget will emit signals on.--dataEventMask=ExposureMask|PointerMotionMask|PointerMotionHintMask|ButtonMotionMask|Button1MotionMask|Button2MotionMask|Button3MotionMask|ButtonPressMask|ButtonReleaseMask|KeyPressMask|KeyReleaseMask|EnterNotifyMask|LeaveNotifyMask|FocusChangeMask|StructureMask|PropertyChangeMask|VisibilityNotifyMask|ProximityInMask|ProximityOutMask|SubstructureMask|ScrollMask|AllEventsMaskderiving(Eq,Bounded,Show)instanceEnumEventMaskwherefromEnumExposureMask=2fromEnumPointerMotionMask=4fromEnumPointerMotionHintMask=8fromEnumButtonMotionMask=16fromEnumButton1MotionMask=32fromEnumButton2MotionMask=64fromEnumButton3MotionMask=128fromEnumButtonPressMask=256fromEnumButtonReleaseMask=512fromEnumKeyPressMask=1024fromEnumKeyReleaseMask=2048fromEnumEnterNotifyMask=4096fromEnumLeaveNotifyMask=8192fromEnumFocusChangeMask=16384fromEnumStructureMask=32768fromEnumPropertyChangeMask=65536fromEnumVisibilityNotifyMask=131072fromEnumProximityInMask=262144fromEnumProximityOutMask=524288fromEnumSubstructureMask=1048576fromEnumScrollMask=2097152fromEnumAllEventsMask=4194302toEnum2=ExposureMasktoEnum4=PointerMotionMasktoEnum8=PointerMotionHintMasktoEnum16=ButtonMotionMasktoEnum32=Button1MotionMasktoEnum64=Button2MotionMasktoEnum128=Button3MotionMasktoEnum256=ButtonPressMasktoEnum512=ButtonReleaseMasktoEnum1024=KeyPressMasktoEnum2048=KeyReleaseMasktoEnum4096=EnterNotifyMasktoEnum8192=LeaveNotifyMasktoEnum16384=FocusChangeMasktoEnum32768=StructureMasktoEnum65536=PropertyChangeMasktoEnum131072=VisibilityNotifyMasktoEnum262144=ProximityInMasktoEnum524288=ProximityOutMasktoEnum1048576=SubstructureMasktoEnum2097152=ScrollMasktoEnum4194302=AllEventsMasktoEnumunmatched=error("EventMask.toEnum: Cannot match "++showunmatched)succExposureMask=PointerMotionMasksuccPointerMotionMask=PointerMotionHintMasksuccPointerMotionHintMask=ButtonMotionMasksuccButtonMotionMask=Button1MotionMasksuccButton1MotionMask=Button2MotionMasksuccButton2MotionMask=Button3MotionMasksuccButton3MotionMask=ButtonPressMasksuccButtonPressMask=ButtonReleaseMasksuccButtonReleaseMask=KeyPressMasksuccKeyPressMask=KeyReleaseMasksuccKeyReleaseMask=EnterNotifyMasksuccEnterNotifyMask=LeaveNotifyMasksuccLeaveNotifyMask=FocusChangeMasksuccFocusChangeMask=StructureMasksuccStructureMask=PropertyChangeMasksuccPropertyChangeMask=VisibilityNotifyMasksuccVisibilityNotifyMask=ProximityInMasksuccProximityInMask=ProximityOutMasksuccProximityOutMask=SubstructureMasksuccSubstructureMask=ScrollMasksuccScrollMask=AllEventsMasksucc_=undefinedpredPointerMotionMask=ExposureMaskpredPointerMotionHintMask=PointerMotionMaskpredButtonMotionMask=PointerMotionHintMaskpredButton1MotionMask=ButtonMotionMaskpredButton2MotionMask=Button1MotionMaskpredButton3MotionMask=Button2MotionMaskpredButtonPressMask=Button3MotionMaskpredButtonReleaseMask=ButtonPressMaskpredKeyPressMask=ButtonReleaseMaskpredKeyReleaseMask=KeyPressMaskpredEnterNotifyMask=KeyReleaseMaskpredLeaveNotifyMask=EnterNotifyMaskpredFocusChangeMask=LeaveNotifyMaskpredStructureMask=FocusChangeMaskpredPropertyChangeMask=StructureMaskpredVisibilityNotifyMask=PropertyChangeMaskpredProximityInMask=VisibilityNotifyMaskpredProximityOutMask=ProximityInMaskpredSubstructureMask=ProximityOutMaskpredScrollMask=SubstructureMaskpredAllEventsMask=ScrollMaskpred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxAllEventsMaskenumFromThen__=error"Enum EventMask: enumFromThen not implemented"enumFromThenTo___=error"Enum EventMask: enumFromThenTo not implemented"{-# LINE 101 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsEventMask-- | Keyboard modifiers that are depressed when the user presses-- a key or a mouse button.---- * This data type is used to build lists of modifers that were active-- during an event.---- * The "Apple" key on Macintoshs is mapped to 'Alt2' and the 'Meta'-- key (if available).---- * Since Gtk 2.10, there are also 'Super', 'Hyper' and 'Meta' modifiers-- which are simply generated from 'Alt' .. 'Compose' modifier keys,-- depending on the mapping used by the windowing system. Due to one-- key being mapped to e.g. 'Alt2' and 'Meta', you shouldn't pattern-- match directly against a certain key but check whether a key is-- in the list using the 'elem' function, say.--dataModifier=Shift|Lock|Control|Alt|Alt2|Alt3|Alt4|Alt5|Button1|Button2|Button3|Button4|Button5|Super|Hyper|Meta|Release|ModifierMaskderiving(Bounded,Show,Eq)instanceEnumModifierwherefromEnumShift=1fromEnumLock=2fromEnumControl=4fromEnumAlt=8fromEnumAlt2=16fromEnumAlt3=32fromEnumAlt4=64fromEnumAlt5=128fromEnumButton1=256fromEnumButton2=512fromEnumButton3=1024fromEnumButton4=2048fromEnumButton5=4096fromEnumSuper=67108864fromEnumHyper=134217728fromEnumMeta=268435456fromEnumRelease=1073741824fromEnumModifierMask=1543512063toEnum1=ShifttoEnum2=LocktoEnum4=ControltoEnum8=AlttoEnum16=Alt2toEnum32=Alt3toEnum64=Alt4toEnum128=Alt5toEnum256=Button1toEnum512=Button2toEnum1024=Button3toEnum2048=Button4toEnum4096=Button5toEnum67108864=SupertoEnum134217728=HypertoEnum268435456=MetatoEnum1073741824=ReleasetoEnum1543512063=ModifierMasktoEnumunmatched=error("Modifier.toEnum: Cannot match "++showunmatched)succShift=LocksuccLock=ControlsuccControl=AltsuccAlt=Alt2succAlt2=Alt3succAlt3=Alt4succAlt4=Alt5succAlt5=Button1succButton1=Button2succButton2=Button3succButton3=Button4succButton4=Button5succButton5=SupersuccSuper=HypersuccHyper=MetasuccMeta=ReleasesuccRelease=ModifierMasksucc_=undefinedpredLock=ShiftpredControl=LockpredAlt=ControlpredAlt2=AltpredAlt3=Alt2predAlt4=Alt3predAlt5=Alt4predButton1=Alt5predButton2=Button1predButton3=Button2predButton4=Button3predButton5=Button4predSuper=Button5predHyper=SuperpredMeta=HyperpredRelease=MetapredModifierMask=Releasepred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxModifierMaskenumFromThen__=error"Enum Modifier: enumFromThen not implemented"enumFromThenTo___=error"Enum Modifier: enumFromThenTo not implemented"{-# LINE 159 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsModifier-- | specify which input extension a widget desires--dataExtensionMode=ExtensionEventsNone|ExtensionEventsAll|ExtensionEventsCursorderiving(Enum,Eq,Bounded,Show){-# LINE 164 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsExtensionMode-- | How objects are filled.--dataFill=Solid|Tiled|Stippled|OpaqueStippledderiving(Enum,Eq,Show){-# LINE 170 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Determine how bitmap operations are carried out.--dataFunction=Copy|Invert|Xor|Clear|And|AndReverse|AndInvert|Noop|Or|Equiv|OrReverse|CopyInvert|OrInvert|Nand|Nor|Setderiving(Enum,Eq,Show){-# LINE 174 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Specify on what file condition a callback should be-- done.--dataInputCondition=InputRead|InputWrite|InputExceptionderiving(Eq,Bounded)instanceEnumInputConditionwherefromEnumInputRead=1fromEnumInputWrite=2fromEnumInputException=4toEnum1=InputReadtoEnum2=InputWritetoEnum4=InputExceptiontoEnumunmatched=error("InputCondition.toEnum: Cannot match "++showunmatched)succInputRead=InputWritesuccInputWrite=InputExceptionsucc_=undefinedpredInputWrite=InputReadpredInputException=InputWritepred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxInputExceptionenumFromThen__=error"Enum InputCondition: enumFromThen not implemented"enumFromThenTo___=error"Enum InputCondition: enumFromThenTo not implemented"{-# LINE 179 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsInputCondition-- | Determines how adjacent line ends are drawn.--dataJoinStyle=JoinMiter|JoinRound|JoinBevelderiving(Enum,Eq,Show){-# LINE 185 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Determines if a line is solid or dashed.--dataLineStyle=LineSolid|LineOnOffDash|LineDoubleDashderiving(Enum,Eq,Show){-# LINE 189 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Information on from what level of the widget hierarchy the mouse-- cursor came.---- ['NotifyAncestor'] The window is entered from an ancestor or left towards-- an ancestor.---- ['NotifyVirtual'] The pointer moves between an ancestor and an inferior-- of the window.---- ['NotifyInferior'] The window is entered from an inferior or left-- towards an inferior.---- ['NotifyNonlinear'] The window is entered from or left towards a-- window which is neither an ancestor nor an inferior.---- ['NotifyNonlinearVirtual'] The pointer moves between two windows which-- are not ancestors of each other and the window is part of the ancestor-- chain between one of these windows and their least common ancestor.---- ['NotifyUnknown'] The level change does not fit into any of the other-- categories or could not be determined.--dataNotifyType=NotifyAncestor|NotifyVirtual|NotifyInferior|NotifyNonlinear|NotifyNonlinearVirtual|NotifyUnknownderiving(Eq,Show)instanceEnumNotifyTypewherefromEnumNotifyAncestor=0fromEnumNotifyVirtual=1fromEnumNotifyInferior=2fromEnumNotifyNonlinear=3fromEnumNotifyNonlinearVirtual=4fromEnumNotifyUnknown=5toEnum0=NotifyAncestortoEnum1=NotifyVirtualtoEnum2=NotifyInferiortoEnum3=NotifyNonlineartoEnum4=NotifyNonlinearVirtualtoEnum5=NotifyUnknowntoEnumunmatched=error("NotifyType.toEnum: Cannot match "++showunmatched)succNotifyAncestor=NotifyVirtualsuccNotifyVirtual=NotifyInferiorsuccNotifyInferior=NotifyNonlinearsuccNotifyNonlinear=NotifyNonlinearVirtualsuccNotifyNonlinearVirtual=NotifyUnknownsucc_=undefinedpredNotifyVirtual=NotifyAncestorpredNotifyInferior=NotifyVirtualpredNotifyNonlinear=NotifyInferiorpredNotifyNonlinearVirtual=NotifyNonlinearpredNotifyUnknown=NotifyNonlinearVirtualpred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxNotifyUnknownenumFromThen__=error"Enum NotifyType: enumFromThen not implemented"enumFromThenTo___=error"Enum NotifyType: enumFromThenTo not implemented"{-# LINE 213 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | in which direction was scrolled?--dataScrollDirection=ScrollUp|ScrollDown|ScrollLeft|ScrollRightderiving(Enum,Eq,Show){-# LINE 217 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Determine if child widget may be overdrawn.--dataSubwindowMode=ClipByChildren|IncludeInferiorsderiving(Eq,Show)instanceEnumSubwindowModewherefromEnumClipByChildren=0fromEnumIncludeInferiors=1toEnum0=ClipByChildrentoEnum1=IncludeInferiorstoEnumunmatched=error("SubwindowMode.toEnum: Cannot match "++showunmatched)succClipByChildren=IncludeInferiorssucc_=undefinedpredIncludeInferiors=ClipByChildrenpred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxIncludeInferiorsenumFromThen__=error"Enum SubwindowMode: enumFromThen not implemented"enumFromThenTo___=error"Enum SubwindowMode: enumFromThenTo not implemented"{-# LINE 221 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | visibility of a window--dataVisibilityState=VisibilityUnobscured|VisibilityPartialObscured|VisibilityFullyObscuredderiving(Enum,Eq,Show){-# LINE 227 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | The state a @DrawWindow@ is in.--dataWindowState=WindowStateWithdrawn|WindowStateIconified|WindowStateMaximized|WindowStateSticky|WindowStateFullscreen|WindowStateAbove|WindowStateBelowderiving(Eq,Bounded,Show)instanceEnumWindowStatewherefromEnumWindowStateWithdrawn=1fromEnumWindowStateIconified=2fromEnumWindowStateMaximized=4fromEnumWindowStateSticky=8fromEnumWindowStateFullscreen=16fromEnumWindowStateAbove=32fromEnumWindowStateBelow=64toEnum1=WindowStateWithdrawntoEnum2=WindowStateIconifiedtoEnum4=WindowStateMaximizedtoEnum8=WindowStateStickytoEnum16=WindowStateFullscreentoEnum32=WindowStateAbovetoEnum64=WindowStateBelowtoEnumunmatched=error("WindowState.toEnum: Cannot match "++showunmatched)succWindowStateWithdrawn=WindowStateIconifiedsuccWindowStateIconified=WindowStateMaximizedsuccWindowStateMaximized=WindowStateStickysuccWindowStateSticky=WindowStateFullscreensuccWindowStateFullscreen=WindowStateAbovesuccWindowStateAbove=WindowStateBelowsucc_=undefinedpredWindowStateIconified=WindowStateWithdrawnpredWindowStateMaximized=WindowStateIconifiedpredWindowStateSticky=WindowStateMaximizedpredWindowStateFullscreen=WindowStateStickypredWindowStateAbove=WindowStateFullscreenpredWindowStateBelow=WindowStateAbovepred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxWindowStateBelowenumFromThen__=error"Enum WindowState: enumFromThen not implemented"enumFromThenTo___=error"Enum WindowState: enumFromThenTo not implemented"{-# LINE 231 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}instanceFlagsWindowState-- | Determines a window edge or corner.--dataWindowEdge=WindowEdgeNorthWest|WindowEdgeNorth|WindowEdgeNorthEast|WindowEdgeWest|WindowEdgeEast|WindowEdgeSouthWest|WindowEdgeSouth|WindowEdgeSouthEastderiving(Enum,Eq,Show){-# LINE 237 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | 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.--dataWindowTypeHint=WindowTypeHintNormal|WindowTypeHintDialog|WindowTypeHintMenu|WindowTypeHintToolbar|WindowTypeHintSplashscreen|WindowTypeHintUtility|WindowTypeHintDock|WindowTypeHintDesktop|WindowTypeHintDropdownMenu|WindowTypeHintPopupMenu|WindowTypeHintTooltip|WindowTypeHintNotification|WindowTypeHintCombo|WindowTypeHintDndderiving(Enum,Eq,Show){-# LINE 246 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Defines the reference point of a window and the meaning of coordinates-- passed to 'Graphics.UI.Gtk.Windows.Window.windowMove'. See-- 'Graphics.UI.Gtk.Windows.Window.windowMove' and the "implementation notes"-- section of the extended window manager hints specification for more details.--dataGravity=GravityNorthWest|GravityNorth|GravityNorthEast|GravityWest|GravityCenter|GravityEast|GravitySouthWest|GravitySouth|GravitySouthEast|GravityStaticderiving(Eq,Show)instanceEnumGravitywherefromEnumGravityNorthWest=1fromEnumGravityNorth=2fromEnumGravityNorthEast=3fromEnumGravityWest=4fromEnumGravityCenter=5fromEnumGravityEast=6fromEnumGravitySouthWest=7fromEnumGravitySouth=8fromEnumGravitySouthEast=9fromEnumGravityStatic=10toEnum1=GravityNorthWesttoEnum2=GravityNorthtoEnum3=GravityNorthEasttoEnum4=GravityWesttoEnum5=GravityCentertoEnum6=GravityEasttoEnum7=GravitySouthWesttoEnum8=GravitySouthtoEnum9=GravitySouthEasttoEnum10=GravityStatictoEnumunmatched=error("Gravity.toEnum: Cannot match "++showunmatched)succGravityNorthWest=GravityNorthsuccGravityNorth=GravityNorthEastsuccGravityNorthEast=GravityWestsuccGravityWest=GravityCentersuccGravityCenter=GravityEastsuccGravityEast=GravitySouthWestsuccGravitySouthWest=GravitySouthsuccGravitySouth=GravitySouthEastsuccGravitySouthEast=GravityStaticsucc_=undefinedpredGravityNorth=GravityNorthWestpredGravityNorthEast=GravityNorthpredGravityWest=GravityNorthEastpredGravityCenter=GravityWestpredGravityEast=GravityCenterpredGravitySouthWest=GravityEastpredGravitySouth=GravitySouthWestpredGravitySouthEast=GravitySouthpredGravityStatic=GravitySouthEastpred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxGravityStaticenumFromThen__=error"Enum Gravity: enumFromThen not implemented"enumFromThenTo___=error"Enum Gravity: enumFromThenTo not implemented"{-# LINE 253 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Returned by 'pointerGrab' and 'keyboardGrab' to indicate success or the-- reason for the failure of the grab attempt.---- [@GrabSuccess@] the resource was successfully grabbed.---- [@GrabAlreadyGrabbed@] the resource is actively grabbed by another client.---- [@GrabInvalidTime@] the resource was grabbed more recently than the-- specified time.---- [@GrabNotViewable@] the grab window or the confine_to window are not-- viewable.---- [@GrabFrozen@] the resource is frozen by an active grab of another client.--dataGrabStatus=GrabSuccess|GrabAlreadyGrabbed|GrabInvalidTime|GrabNotViewable|GrabFrozenderiving(Eq,Show)instanceEnumGrabStatuswherefromEnumGrabSuccess=0fromEnumGrabAlreadyGrabbed=1fromEnumGrabInvalidTime=2fromEnumGrabNotViewable=3fromEnumGrabFrozen=4toEnum0=GrabSuccesstoEnum1=GrabAlreadyGrabbedtoEnum2=GrabInvalidTimetoEnum3=GrabNotViewabletoEnum4=GrabFrozentoEnumunmatched=error("GrabStatus.toEnum: Cannot match "++showunmatched)succGrabSuccess=GrabAlreadyGrabbedsuccGrabAlreadyGrabbed=GrabInvalidTimesuccGrabInvalidTime=GrabNotViewablesuccGrabNotViewable=GrabFrozensucc_=undefinedpredGrabAlreadyGrabbed=GrabSuccesspredGrabInvalidTime=GrabAlreadyGrabbedpredGrabNotViewable=GrabInvalidTimepredGrabFrozen=GrabNotViewablepred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxGrabFrozenenumFromThen__=error"Enum GrabStatus: enumFromThen not implemented"enumFromThenTo___=error"Enum GrabStatus: enumFromThenTo not implemented"{-# LINE 270 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}-- | Specifies why a selection ownership was changed.---- [@OwnerChangeNewOwner@] some other application claimed the ownership---- [@OwnerChangeDestroy@] the window was destroyed---- [@OwnerChangeClose@] the client was closed--dataOwnerChange=OwnerChangeNewOwner|OwnerChangeDestroy|OwnerChangeClosederiving(Enum,Eq,Show){-# LINE 281 "./Graphics/UI/Gtk/Gdk/Enums.chs" #-}