Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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
- | ZoomGesture
- data When
- data FdWhen
- data TreeSort
- data TreeConnector
- data TreeSelect
- data SearchDirection
- data TreeItemReselectMode
- data TreeItemDrawMode
- 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
- allDamages :: [Damage]
- data Cursor
- data Mode
- newtype Modes = Modes [Mode]
- single :: Mode
- allModes :: [Mode]
- allTreeItemDrawModes :: [TreeItemDrawMode]
- 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
- defineIconLabel :: Labeltype
- 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
- colorAverage :: 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
- defineMultiLabel :: Labeltype
- defineImageLabel :: Labeltype
- type RGB = (CUChar, CUChar, CUChar)
Events
WhenNever | |
WhenChanged | |
WhenNotChanged | |
WhenRelease | |
WhenReleaseAlways | |
WhenEnterKey | |
WhenEnterKeyAlways | |
WhenEnterKeyChanged |
Tree Attributes
Instances
Enum TreeSort Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations | |
Eq TreeSort Source # | |
Show TreeSort Source # | |
data TreeConnector Source #
Instances
Enum TreeConnector Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: TreeConnector -> TreeConnector # pred :: TreeConnector -> TreeConnector # toEnum :: Int -> TreeConnector # fromEnum :: TreeConnector -> Int # enumFrom :: TreeConnector -> [TreeConnector] # enumFromThen :: TreeConnector -> TreeConnector -> [TreeConnector] # enumFromTo :: TreeConnector -> TreeConnector -> [TreeConnector] # enumFromThenTo :: TreeConnector -> TreeConnector -> TreeConnector -> [TreeConnector] # | |
Eq TreeConnector Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations (==) :: TreeConnector -> TreeConnector -> Bool # (/=) :: TreeConnector -> TreeConnector -> Bool # | |
Show TreeConnector Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations showsPrec :: Int -> TreeConnector -> ShowS # show :: TreeConnector -> String # showList :: [TreeConnector] -> ShowS # |
data TreeSelect Source #
Instances
Enum TreeSelect Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: TreeSelect -> TreeSelect # pred :: TreeSelect -> TreeSelect # toEnum :: Int -> TreeSelect # fromEnum :: TreeSelect -> Int # enumFrom :: TreeSelect -> [TreeSelect] # enumFromThen :: TreeSelect -> TreeSelect -> [TreeSelect] # enumFromTo :: TreeSelect -> TreeSelect -> [TreeSelect] # enumFromThenTo :: TreeSelect -> TreeSelect -> TreeSelect -> [TreeSelect] # | |
Eq TreeSelect Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations (==) :: TreeSelect -> TreeSelect -> Bool # (/=) :: TreeSelect -> TreeSelect -> Bool # | |
Show TreeSelect Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations showsPrec :: Int -> TreeSelect -> ShowS # show :: TreeSelect -> String # showList :: [TreeSelect] -> ShowS # |
data SearchDirection Source #
Instances
Enum SearchDirection Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: SearchDirection -> SearchDirection # pred :: SearchDirection -> SearchDirection # toEnum :: Int -> SearchDirection # fromEnum :: SearchDirection -> Int # enumFrom :: SearchDirection -> [SearchDirection] # enumFromThen :: SearchDirection -> SearchDirection -> [SearchDirection] # enumFromTo :: SearchDirection -> SearchDirection -> [SearchDirection] # enumFromThenTo :: SearchDirection -> SearchDirection -> SearchDirection -> [SearchDirection] # | |
Eq SearchDirection Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations (==) :: SearchDirection -> SearchDirection -> Bool # (/=) :: SearchDirection -> SearchDirection -> Bool # | |
Show SearchDirection Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations showsPrec :: Int -> SearchDirection -> ShowS # show :: SearchDirection -> String # showList :: [SearchDirection] -> ShowS # |
data TreeItemReselectMode Source #
Instances
data TreeItemDrawMode Source #
Instances
Keyboard and mouse codes
data SpecialKey Source #
Instances
allSpecialKeys :: [SpecialKey] Source #
data MouseButton Source #
Instances
Enum MouseButton Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: MouseButton -> MouseButton # pred :: MouseButton -> MouseButton # toEnum :: Int -> MouseButton # fromEnum :: MouseButton -> Int # enumFrom :: MouseButton -> [MouseButton] # enumFromThen :: MouseButton -> MouseButton -> [MouseButton] # enumFromTo :: MouseButton -> MouseButton -> [MouseButton] # enumFromThenTo :: MouseButton -> MouseButton -> MouseButton -> [MouseButton] # | |
Eq MouseButton Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations (==) :: MouseButton -> MouseButton -> Bool # (/=) :: MouseButton -> MouseButton -> Bool # | |
Show MouseButton Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations showsPrec :: Int -> MouseButton -> ShowS # show :: MouseButton -> String # showList :: [MouseButton] -> ShowS # |
data EventState Source #
Kb_ShiftState | |
Kb_CapsLockState | |
Kb_CtrlState | |
Kb_AltState | |
Kb_NumLockState | |
Kb_MetaState | |
Kb_ScrollLockState | |
Mouse_Button1State | |
Mouse_Button2State | |
Mouse_Button3State |
Instances
data KeyboardKeyMask Source #
Instances
data MouseButtonsMask Source #
Instances
allEventStates :: [EventState] Source #
Widget damage types
allDamages :: [Damage] Source #
Cursor type
Various modes
ModeRGB | |
ModeIndex | |
ModeDouble | |
ModeAccum | |
ModeAlpha | |
ModeDepth | |
ModeStencil | |
ModeRGB8 | |
ModeMultisample | |
ModeStereo | |
ModeFakeSingle | |
ModeOpenGL3 |
Alignmenkt
newtype Alignments Source #
Instances
Eq Alignments Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations (==) :: Alignments -> Alignments -> Bool # (/=) :: Alignments -> Alignments -> Bool # | |
Ord Alignments Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations compare :: Alignments -> Alignments -> Ordering # (<) :: Alignments -> Alignments -> Bool # (<=) :: Alignments -> Alignments -> Bool # (>) :: Alignments -> Alignments -> Bool # (>=) :: Alignments -> Alignments -> Bool # max :: Alignments -> Alignments -> Alignments # min :: Alignments -> Alignments -> Alignments # | |
Show Alignments Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations showsPrec :: Int -> Alignments -> ShowS # show :: Alignments -> String # showList :: [Alignments] -> ShowS # |
Instances
Enum AlignType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: AlignType -> AlignType # pred :: AlignType -> AlignType # fromEnum :: AlignType -> Int # enumFrom :: AlignType -> [AlignType] # enumFromThen :: AlignType -> AlignType -> [AlignType] # enumFromTo :: AlignType -> AlignType -> [AlignType] # enumFromThenTo :: AlignType -> AlignType -> AlignType -> [AlignType] # | |
Eq AlignType Source # | |
Ord AlignType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations | |
Show AlignType Source # | |
allAlignTypes :: [AlignType] Source #
Box types
Instances
Enum Boxtype Source # | |
Eq Boxtype Source # | |
Ord Boxtype Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations | |
Show Boxtype Source # | |
diamondBox :: Boxtype Source #
Box functions
Fonts
data FontAttribute Source #
Instances
(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 #
Labels
NormalLabelType | |
NoLabelType | |
ShadowLabelType | |
EngravedLabelType | |
EmbossedLabelType | |
IconLabelType | |
MultiLabelType | |
ImageLabelType | |
FreeLabelType |
Instances
Enum Labeltype Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations succ :: Labeltype -> Labeltype # pred :: Labeltype -> Labeltype # fromEnum :: Labeltype -> Int # enumFrom :: Labeltype -> [Labeltype] # enumFromThen :: Labeltype -> Labeltype -> [Labeltype] # enumFromTo :: Labeltype -> Labeltype -> [Labeltype] # enumFromThenTo :: Labeltype -> Labeltype -> Labeltype -> [Labeltype] # | |
Eq Labeltype Source # | |
Ord Labeltype Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Fl_Enumerations | |
Show Labeltype Source # | |