Safe Haskell | None |
---|---|
Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.FL
- data Option
- data ClipboardContents
- data PasteSource
- scrollbarSize :: IO Int
- setScrollbarSize :: Int -> IO ()
- selectionOwner :: IO (Maybe (Ref Widget))
- setSelectionOwner :: Parent a Widget => Ref a -> IO ()
- run :: IO Int
- replRun :: IO ()
- check :: IO Int
- ready :: IO Int
- option :: Option -> IO Bool
- setOption :: Option -> Bool -> IO ()
- lock :: IO Bool
- unlock :: IO ()
- awake :: IO ()
- awakeToHandler :: IO ()
- addAwakeHandler_ :: GlobalCallback -> IO (Either AwakeRingFull ())
- getAwakeHandler_ :: IO GlobalCallback
- display :: Text -> IO ()
- ownColormap :: IO ()
- getSystemColors :: IO ()
- foreground :: RGB -> IO ()
- background :: RGB -> IO ()
- background2 :: RGB -> IO ()
- setScheme :: Text -> IO Int
- getScheme :: Text
- reloadScheme :: Int
- isScheme :: Text -> IO Bool
- setFirstWindow :: Parent a Window => Ref a -> IO ()
- nextWindow :: Parent a Window => Ref a -> IO (Maybe (Ref Window))
- setGrab :: Parent a Window => Ref a -> IO ()
- getMouse :: IO Position
- eventStates :: [EventState]
- extract :: Enum a => [a] -> CInt -> [a]
- extractEventStates :: CInt -> [EventState]
- handle :: Parent a Window => Event -> Ref a -> IO (Either UnknownEvent ())
- handle_ :: Parent a Window => Event -> Ref a -> IO (Either UnknownEvent ())
- belowmouse :: IO (Maybe (Ref Widget))
- setBelowmouse :: Parent a Widget => Ref a -> IO ()
- setPushed :: Parent a Widget => Ref a -> IO ()
- setFocus :: Parent a Widget => Ref a -> IO ()
- setHandler :: GlobalEventHandlerF -> IO ()
- paste :: Parent a Widget => Ref a -> PasteSource -> IO ()
- toRectangle :: (Int, Int, Int, Int) -> Rectangle
- fromRectangle :: Rectangle -> (Int, Int, Int, Int)
- screenBounds :: Maybe ScreenLocation -> IO Rectangle
- screenDPI :: Maybe Int -> IO DPI
- screenWorkArea :: Maybe ScreenLocation -> IO Rectangle
- setColorRgb :: Color -> Word8 -> Word8 -> Word8 -> IO ()
- toAttribute :: Ptr CInt -> IO (Maybe FontAttribute)
- release :: IO ()
- setVisibleFocus :: Bool -> IO ()
- visibleFocus :: IO Bool
- setDndTextOps :: Bool -> IO ()
- dndTextOps :: IO Option
- deleteWidget :: Parent a Widget => Ref a -> IO ()
- doWidgetDeletion :: IO ()
- watchWidgetPointer :: Parent a Widget => Ref a -> IO ()
- releaseWidgetPointer :: Parent a Widget => Ref a -> IO ()
- clearWidgetPointer :: Parent a Widget => Ref a -> IO ()
- version :: IO Double
- help :: IO Text
- visual :: Mode -> IO Bool
- glVisual :: Mode -> IO Bool
- glVisualWithAlist :: Mode -> Ptr CInt -> IO Bool
- wait :: IO Int
- setWait :: Double -> IO Double
- waitFor :: Double -> IO Double
- readqueue :: IO (Maybe (Ref Widget))
- addTimeout :: Double -> GlobalCallback -> IO ()
- repeatTimeout :: Double -> GlobalCallback -> IO ()
- hasTimeout :: GlobalCallback -> IO Int
- removeTimeout :: GlobalCallback -> IO ()
- addCheck :: GlobalCallback -> IO ()
- hasCheck :: GlobalCallback -> IO Int
- removeCheck :: GlobalCallback -> IO ()
- addIdle :: GlobalCallback -> IO ()
- hasIdle :: GlobalCallback -> IO Int
- removeIdle :: GlobalCallback -> IO ()
- damage :: IO Int
- redraw :: IO ()
- flush :: IO ()
- firstWindow :: IO (Maybe (Ref Window))
- modal :: IO (Maybe (Ref Window))
- grab :: IO (Maybe (Ref Window))
- getKey :: KeyType -> IO Bool
- compose :: IO (Bool, Int)
- composeReset :: IO ()
- testShortcut :: FlShortcut -> IO Bool
- enableIm :: IO ()
- disableIm :: IO ()
- pushed :: IO (Maybe (Ref Widget))
- focus :: IO (Maybe (Ref Widget))
- copy :: Text -> Int -> IO ()
- copyWithDestination :: Text -> Int -> Int -> IO ()
- pasteWithSource :: Ptr () -> Int -> IO ()
- dnd :: IO Int
- x :: IO Int
- y :: IO Int
- w :: IO Int
- h :: IO Int
- screenCount :: IO Int
- setColor :: Color -> Int -> IO ()
- getColor :: Color -> IO Int
- getColorRgb :: Color -> IO RGB
- removeFromColormap :: Maybe Int -> Color -> IO ()
- data BoxtypeSpec
- getBoxtype :: Boxtype -> IO BoxDrawF
- setBoxtype :: Boxtype -> BoxtypeSpec -> IO ()
- boxDx :: Boxtype -> IO Int
- boxDy :: Boxtype -> IO Int
- boxDw :: Boxtype -> IO Int
- boxDh :: Boxtype -> IO Int
- drawBoxActive :: IO Bool
- getFontName :: Font -> IO (Text, Maybe FontAttribute)
- getFont :: Font -> IO Text
- getFontSizes :: Font -> IO [FontSize]
- setFontToString :: Font -> Text -> IO ()
- setFontToFont :: Font -> Font -> IO ()
- setFonts :: Maybe Text -> IO Int
- addFd :: CInt -> FDHandler -> IO ()
- addFdWhen :: CInt -> [FdWhen] -> FDHandler -> IO ()
- removeFd :: CInt -> IO ()
- removeFdWhen :: CInt -> [FdWhen] -> IO ()
- event :: IO Event
- eventShift :: IO Bool
- eventCtrl :: IO Bool
- eventCommand :: IO Bool
- eventAlt :: IO Bool
- eventButtons :: IO Bool
- eventButton1 :: IO Bool
- eventButton2 :: IO Bool
- eventButton3 :: IO Bool
- eventX :: IO Int
- eventY :: IO Int
- eventXRoot :: IO Int
- eventYRoot :: IO Int
- eventDx :: IO Int
- eventDy :: IO Int
- eventClicks :: IO Int
- setEventClicks :: Int -> IO ()
- eventIsClick :: IO Bool
- setEventIsClick :: Int -> IO ()
- eventButton :: IO (Maybe MouseButton)
- eventState :: IO [EventState]
- containsEventState :: EventState -> IO Bool
- eventKey :: IO KeyType
- eventOriginalKey :: IO KeyType
- eventKeyPressed :: KeyType -> IO Bool
- eventInsideRegion :: Rectangle -> IO Event
- eventInsideWidget :: Parent a Widget => Ref a -> IO Event
- eventDispatch :: Parent a Widget => IO (Event -> Ref a -> IO (Either UnknownEvent ()))
- setEventDispatch :: Parent a Widget => (Event -> Ref a -> IO (Either UnknownEvent ())) -> IO ()
- eventText :: IO Text
- eventLength :: IO Int
- eventClipboardContents :: IO (Maybe ClipboardContents)
- setBoxColor :: Color -> IO ()
- boxColor :: Color -> IO Color
- abiVersion :: IO Int
- apiVersion :: IO Int
- abiCheck :: Int -> IO Int
- localCtrl :: IO Text
- localMeta :: IO Text
- localAlt :: IO Text
- localShift :: IO Text
- useHighResGL :: IO Bool
- setUseHighResGL :: Bool -> IO ()
Documentation
data ClipboardContents Source #
Constructors
ClipboardContentsImage (Maybe (Ref Image)) | |
ClipboardContentsPlainText (Maybe Text) |
data PasteSource Source #
scrollbarSize :: IO Int Source #
setScrollbarSize :: Int -> IO () Source #
awakeToHandler :: IO () Source #
addAwakeHandler_ :: GlobalCallback -> IO (Either AwakeRingFull ()) Source #
ownColormap :: IO () Source #
getSystemColors :: IO () Source #
foreground :: RGB -> IO () Source #
background :: RGB -> IO () Source #
background2 :: RGB -> IO () Source #
reloadScheme :: Int Source #
eventStates :: [EventState] Source #
extractEventStates :: CInt -> [EventState] Source #
setHandler :: GlobalEventHandlerF -> IO () Source #
toAttribute :: Ptr CInt -> IO (Maybe FontAttribute) Source #
setVisibleFocus :: Bool -> IO () Source #
visibleFocus :: IO Bool Source #
setDndTextOps :: Bool -> IO () Source #
dndTextOps :: IO Option Source #
doWidgetDeletion :: IO () Source #
glVisual :: Mode -> IO Bool Source #
Only available if on a non OSX platform and if the opengl
flag is set (stack build --flag fltkhs:opengl).
glVisualWithAlist :: Mode -> Ptr CInt -> IO Bool Source #
Only available if on a non OSX platform and if the opengl
flag is set (stack build --flag fltkhs:opengl).
addTimeout :: Double -> GlobalCallback -> IO () Source #
repeatTimeout :: Double -> GlobalCallback -> IO () Source #
hasTimeout :: GlobalCallback -> IO Int Source #
removeTimeout :: GlobalCallback -> IO () Source #
addCheck :: GlobalCallback -> IO () Source #
removeCheck :: GlobalCallback -> IO () Source #
addIdle :: GlobalCallback -> IO () Source #
removeIdle :: GlobalCallback -> IO () Source #
composeReset :: IO () Source #
testShortcut :: FlShortcut -> IO Bool Source #
screenCount :: IO Int Source #
Box
data BoxtypeSpec Source #
setBoxtype :: Boxtype -> BoxtypeSpec -> IO () Source #
drawBoxActive :: IO Bool Source #
Fonts
getFontName :: Font -> IO (Text, Maybe FontAttribute) Source #
File Descriptor Callbacks
Events
eventShift :: IO Bool Source #
eventCommand :: IO Bool Source #
eventButtons :: IO Bool Source #
eventButton1 :: IO Bool Source #
eventButton2 :: IO Bool Source #
eventButton3 :: IO Bool Source #
eventXRoot :: IO Int Source #
eventYRoot :: IO Int Source #
eventClicks :: IO Int Source #
setEventClicks :: Int -> IO () Source #
eventIsClick :: IO Bool Source #
setEventIsClick :: Int -> IO () Source #
eventButton :: IO (Maybe MouseButton) Source #
eventState :: IO [EventState] Source #
containsEventState :: EventState -> IO Bool Source #
setEventDispatch :: Parent a Widget => (Event -> Ref a -> IO (Either UnknownEvent ())) -> IO () Source #
eventLength :: IO Int Source #
setBoxColor :: Color -> IO () Source #
Only available on FLTK version 1.3.4 and above.
abiVersion :: IO Int Source #
Only available on FLTK version 1.3.4 and above.
apiVersion :: IO Int Source #
Only available on FLTK version 1.3.4 and above.
localShift :: IO Text Source #
Only available on FLTK version 1.3.4 and above.
useHighResGL :: IO Bool Source #
Only available on FLTK version 1.3.4 and above if GL is enabled with 'stack build --flag fltkhs:opengl'
setUseHighResGL :: Bool -> IO () Source #
Only available on FLTK version 1.3.4 and above if GL is enabled with 'stack build --flag fltkhs:opengl'