Safe Haskell | Safe-Inferred |
---|
This holds the view_id_to_ptr
global variable. Only very low level
modules should import this.
Synopsis
- newtype FltkException = FltkException String
- throw :: String -> IO a
- data CView
- modify :: (Map ViewId (Ptr CView) -> IO (Map ViewId (Ptr CView))) -> IO ()
- get_map :: IO (Map ViewId (Ptr CView))
- get :: ViewId -> IO (Ptr CView)
- lookup :: ViewId -> IO (Maybe.Maybe (Ptr CView))
- lookup_id :: Ptr CView -> IO (Maybe.Maybe ViewId)
- view_exists :: ViewId -> IO Bool
- lookup_keycaps :: IO (Maybe.Maybe (Ptr KeycapsT.CWindow))
- set_keycaps :: Maybe.Maybe (Ptr KeycapsT.CWindow) -> IO ()
error
newtype FltkException Source #
Instances
Exception.Exception FltkException Source # | |
Defined in Ui.PtrMap | |
Show FltkException Source # | |
Defined in Ui.PtrMap showsPrec :: Int -> FltkException -> ShowS # show :: FltkException -> String # showList :: [FltkException] -> ShowS # |
views
lookup_id :: Ptr CView -> IO (Maybe.Maybe ViewId) Source #
Nothing indicates that the UI returned a view ptr I didn't know I had. It's rare, but it can happen if I close a window but a msg about it is still in the queue.
keycaps
set_keycaps :: Maybe.Maybe (Ptr KeycapsT.CWindow) -> IO () Source #