Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Event
- = NoEvent
- | Push
- | Release
- | Enter
- | Leave
- | Drag
- | Focus
- | Unfocus
- | Keydown
- | Keyup
- | Close
- | Move
- | Shortcut
- | Deactivate
- | Activate
- | Hide
- | Show
- | Paste
- | Selectionclear
- | Mousewheel
- | DndEnter
- | DndDrag
- | DndLeave
- | DndRelease
- | ScreenConfigurationChanged
- | Fullscreen
- data When
- data FdWhen
- data TreeSort
- data TreeConnector
- data TreeSelect
- data SearchDirection
- data SpecialKey
- = Kb_VolumeDown
- | Kb_VolumeMute
- | Kb_VolumeUp
- | Kb_MediaPlay
- | Kb_MediaStop
- | Kb_MediaPrev
- | Kb_MediaNext
- | Kb_HomePage
- | Kb_Mail
- | Kb_Search
- | Kb_Back
- | Kb_Forward
- | Kb_Stop
- | Kb_Refresh
- | Kb_Sleep
- | Kb_Favorites
- | Button
- | Kb_Backspace
- | Kb_Tab
- | Kb_Clear
- | Kb_IsoKey
- | Kb_Enter
- | Kb_Pause
- | Kb_Escape
- | Kb_Kana
- | Kb_Eisu
- | Kb_Yen
- | Kb_JisUnderscore
- | Kb_Home
- | Kb_Left
- | Kb_Up
- | Kb_Right
- | Kb_Down
- | Kb_PageUp
- | Kb_PageDown
- | Kb_End
- | Kb_Print
- | Kb_Insert
- | Kb_Menu
- | Kb_Help
- | Kb_Kp
- | Kb_KpEnter
- | Kb_F
- | Kb_Flast
- | Kb_ShiftL
- | Kb_ShiftR
- | Kb_ControlL
- | Kb_ControlR
- | Kb_CapsLock
- | Kb_MetaL
- | Kb_MetaR
- | Kb_AltL
- | Kb_AltR
- | Kb_Delete
- allSpecialKeys :: [SpecialKey]
- allShortcutSpecialKeys :: [CInt]
- data MouseButton
- data EventState
- data KeyboardKeyMask = Kb_KeyMask
- data MouseButtonsMask = Mouse_ButtonsMask
- allEventStates :: [EventState]
- kb_CommandState :: EventState
- kb_ControlState :: EventState
- kb_KpLast :: SpecialKey
- data Damage
- data GlutDraw
- data GlutMouseCodes
- data GlutUpDown
- data GlutVisibility
- data GlutMenuProperties
- data GlutEnteredLeft
- data GlutKeyboardCodes
- = GlutKeyF1
- | GlutKeyF2
- | GlutKeyF3
- | GlutKeyF4
- | GlutKeyF5
- | GlutKeyF6
- | GlutKeyF7
- | GlutKeyF8
- | GlutKeyF9
- | GlutKeyF10
- | GlutKeyF11
- | GlutKeyF12
- | GlutKeyHome
- | GlutKeyLeft
- | GlutKeyUp
- | GlutKeyRight
- | GlutKeyDown
- | GlutKeyPageUp
- | GlutKeyPageDown
- | GlutKeyEnd
- | GlutKeyInsert
- | GlutActiveShift
- | GlutActiveCtrl
- | GlutActiveAlt
- data GlutConstants
- data GlutWindowProperties
- = GlutWindowX
- | GlutWindowY
- | GlutWindowWidth
- | GlutWindowHeight
- | GlutWindowParent
- | GlutScreenWidth
- | GlutScreenHeight
- | GlutInitWindowX
- | GlutInitWindowY
- | GlutInitWindowWidth
- | GlutInitWindowHeight
- | GlutInitDisplayMode
- | GlutWindowBufferSize
- | GlutWindowDoublebuffer
- | GlutWindowStereo
- | GlutWindowColormapSize
- | GlutWindowRedSize
- | GlutWindowGreenSize
- | GlutWindowBlueSize
- | GlutWindowAlphaSize
- | GlutWindowDepthSize
- | GlutWindowStencilSize
- | GlutWindowAccumRedSize
- | GlutWindowAccumGreenSize
- | GlutWindowAccumBlueSize
- | GlutWindowAccumAlphaSize
- | GlutWindowRgba
- | GlutWindowNumSamples
- data GlutCursor
- = GlutCursorInherit
- | GlutCursorRightArrow
- | GlutCursorBottomLeftCorner
- | GlutCursorBottomRightCorner
- | GlutCursorBottomSide
- | GlutCursorCycle
- | GlutCursorInfo
- | GlutCursorLeftSide
- | GlutCursorDestroy
- | GlutCursorHelp
- | GlutCursorRightSide
- | GlutCursorSpray
- | GlutCursorCrosshair
- | GlutCursorLeftArrow
- | GlutCursorTopLeftCorner
- | GlutCursorTopRightCorner
- | GlutCursorTopSide
- | GlutCursorWait
- | GlutCursorText
- | GlutCursorUpDown
- | GlutCursorLeftRight
- | GlutCursorNone
- glutCursorFullCrossHair :: GlutCursor
- data Cursor
- data Mode
- single :: Mode
- newtype Alignments = Alignments [AlignType]
- data AlignType
- = AlignTypeCenter
- | AlignTypeTop
- | AlignTypeBottom
- | AlignTypeLeft
- | AlignTypeLeftTop
- | AlignTypeRight
- | AlignTypeRightTop
- | AlignTypeLeftBottom
- | AlignTypeRightBottom
- | AlignTypeInside
- | AlignTypeTextOverImage
- | AlignTypeClip
- | AlignTypeWrap
- | AlignTypeImageNextToText
- | AlignTypeTextNextToImage
- | AlignTypeImageBackdrop
- alignCenter :: Alignments
- alignTop :: Alignments
- alignBottom :: Alignments
- alignLeft :: Alignments
- alignRight :: Alignments
- alignInside :: Alignments
- alignTextOverImage :: Alignments
- alignClip :: Alignments
- alignWrap :: Alignments
- alignImageNextToText :: Alignments
- alignTextNextToImage :: Alignments
- alignImageBackdrop :: Alignments
- alignLeftTop :: Alignments
- alignRightTop :: Alignments
- alignLeftBottom :: Alignments
- alignRightBottom :: Alignments
- alignPositionMask :: Alignments
- alignImageMask :: Alignments
- alignNoWrap :: Alignments
- alignImageOverText :: Alignments
- alignTopLeft :: Alignments
- alignTopRight :: Alignments
- alignBottomLeft :: Alignments
- alignBottomRight :: Alignments
- allAlignTypes :: [AlignType]
- allWhen :: [When]
- data Boxtype
- = NoBox
- | FlatBox
- | UpBox
- | DownBox
- | UpFrame
- | DownFrame
- | ThinUpBox
- | ThinDownBox
- | ThinUpFrame
- | ThinDownFrame
- | EngravedBox
- | EmbossedBox
- | EngravedFrame
- | EmbossedFrame
- | BorderBox
- | ShadowBox
- | BorderFrame
- | ShadowFrame
- | RoundedBox
- | RshadowBox
- | RoundedFrame
- | RFlatBox
- | RoundUpBox
- | RoundDownBox
- | DiamondUpBox
- | DiamondDownBox
- | OvalBox
- | OshadowBox
- | OvalFrame
- | FloatBox
- | PlasticUpBox
- | PlasticDownBox
- | PlasticUpFrame
- | PlasticDownFrame
- | PlasticThinUpBox
- | PlasticThinDownBox
- | PlasticRoundUpBox
- | PlasticRoundDownBox
- | GtkUpBox
- | GtkDownBox
- | GtkUpFrame
- | GtkDownFrame
- | GtkThinUpBox
- | GtkThinDownBox
- | GtkThinUpFrame
- | GtkThinDownFrame
- | GtkRoundUpBox
- | GtkRoundDownBox
- | GleamUpBox
- | GleamDownBox
- | GleamUpFrame
- | GleamDownFrame
- | GleamThinUpBox
- | GleamThinDownBox
- | GleamRoundUpBox
- | GleamRoundDownBox
- | FreeBoxtype
- frame :: Boxtype
- frameBox :: Boxtype
- circleBox :: Boxtype
- diamondBox :: Boxtype
- defineRoundUpBox :: Boxtype
- defineShadowBox :: Boxtype
- defineRoundedBox :: Boxtype
- defineRflatBox :: Boxtype
- defineRshadowBox :: Boxtype
- defineDiamondBox :: Boxtype
- defineOvalBox :: Boxtype
- definePlasticUpBox :: Boxtype
- defineGtkUpBox :: Boxtype
- newtype Font = Font Int
- data FontAttribute
- = Bold
- | Italic
- | BoldItalic
- cFromFont :: Font -> CInt
- cToFont :: CInt -> Font
- cFromFontAttribute :: FontAttribute -> CInt
- cToFontAttribute :: CInt -> Maybe FontAttribute
- helvetica :: Font
- helveticaBold :: Font
- helveticaItalic :: Font
- helveticaBoldItalic :: Font
- courier :: Font
- courierBold :: Font
- courierItalic :: Font
- courierBoldItalic :: Font
- times :: Font
- timesBold :: Font
- timesItalic :: Font
- timesBoldItalic :: Font
- symbol :: Font
- screen :: Font
- screenBold :: Font
- zapfDingbats :: Font
- freeFont :: Font
- newtype Color = Color CUInt
- cFromColor :: Color -> CUInt
- cToColor :: CUInt -> Color
- inactive :: Color -> Color
- contrast :: Color -> Color -> Color
- color_average :: Color -> Color -> Double -> Color
- lighter :: Color -> Color
- darker :: Color -> Color
- rgbColorWithRgb :: RGB -> IO Color
- rgbColorWithGrayscale :: Char -> Color
- grayRamp :: Int -> Color
- colorCube :: Int -> Int -> Int -> Color
- foregroundColor :: Color
- background2Color :: Color
- inactiveColor :: Color
- selectionColor :: Color
- gray0Color :: Color
- dark3Color :: Color
- dark2Color :: Color
- dark1Color :: Color
- backgroundColor :: Color
- light1Color :: Color
- light2Color :: Color
- light3Color :: Color
- blackColor :: Color
- redColor :: Color
- greenColor :: Color
- yellowColor :: Color
- blueColor :: Color
- magentaColor :: Color
- cyanColor :: Color
- darkRedColor :: Color
- darkGreenColor :: Color
- darkYellowColor :: Color
- darkBlueColor :: Color
- darkMagentaColor :: Color
- darkCyanColor :: Color
- whiteColor :: Color
- freeColor :: Color
- numFreeColor :: Color
- grayRampColor :: Color
- numGray :: Color
- grayColor :: Color
- colorCubeColor :: Color
- numRed :: Color
- numGreen :: Color
- numBlue :: Color
- data Labeltype
- symbolLabel :: Labeltype
- defineShadowLabel :: Labeltype
- defineEngravedLabel :: Labeltype
- defineEmbossedLabel :: Labeltype
- type RGB = (CUChar, CUChar, CUChar)
Events
Tree Attributes
data TreeConnector Source #
data TreeSelect Source #
data SearchDirection Source #
Keyboard and mouse codes
data SpecialKey Source #
allSpecialKeys :: [SpecialKey] Source #
data MouseButton Source #
data EventState Source #
data KeyboardKeyMask Source #
data MouseButtonsMask Source #
allEventStates :: [EventState] Source #
Widget damage types
Glut attributes
data GlutMouseCodes Source #
data GlutVisibility Source #
data GlutMenuProperties Source #
data GlutEnteredLeft Source #
data GlutKeyboardCodes Source #
data GlutConstants Source #
data GlutWindowProperties Source #
data GlutCursor Source #
Cursor type
Various modes
Alignment
allAlignTypes :: [AlignType] Source #
Box types
diamondBox :: Boxtype Source #
Box functions
Fonts
data FontAttribute Source #
(Un-)marshalling
Font Names
helveticaBold :: Font Source #
courierBold :: Font Source #
courierItalic :: Font Source #
timesItalic :: Font Source #
screenBold :: Font Source #
zapfDingbats :: Font Source #
Colors
(Un-)marshalling
cFromColor :: Color -> CUInt Source #
Various Color Functions
rgbColorWithGrayscale :: Char -> Color Source #
Color Names
gray0Color :: Color Source #
dark3Color :: Color Source #
dark2Color :: Color Source #
dark1Color :: Color Source #
light1Color :: Color Source #
light2Color :: Color Source #
light3Color :: Color Source #
blackColor :: Color Source #
greenColor :: Color Source #
yellowColor :: Color Source #
magentaColor :: Color Source #
darkRedColor :: Color Source #
whiteColor :: Color Source #
numFreeColor :: Color Source #