Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CustomWindowFuncs a = CustomWindowFuncs {
- flushCustom :: Maybe (Ref a -> IO ())
- data OptionalSizeRangeArgs = OptionalSizeRangeArgs {}
- data PositionSpec
- = ByPosition Position
- | forall a.Parent a WidgetBase => ByWidget (Ref a)
- data WindowType
- defaultCustomWindowFuncs :: forall a. Parent a WindowBase => CustomWindowFuncs a
- fillCustomWidgetFunctionStruct :: forall a. Parent a WidgetBase => Ptr () -> Maybe (Ref a -> IO ()) -> CustomWidgetFuncs a -> IO ()
- defaultOptionalSizeRangeArgs :: OptionalSizeRangeArgs
- windowCustom :: Size -> Maybe Position -> Maybe Text -> Maybe (Ref Window -> IO ()) -> CustomWidgetFuncs Window -> CustomWindowFuncs Window -> IO (Ref Window)
- windowNew :: Size -> Maybe Position -> Maybe Text -> IO (Ref Window)
- windowMaker :: forall a b. (Parent a WindowBase, Parent b WidgetBase) => Size -> Maybe Position -> Maybe Text -> Maybe (Ref b -> IO ()) -> CustomWidgetFuncs b -> CustomWindowFuncs a -> (Int -> Int -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> CString -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> Int -> Int -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> Int -> Int -> CString -> Ptr () -> IO (Ptr ())) -> IO (Ref a)
- currentWindow :: Parent a WindowBase => IO (Ref a)
- handleWindowBase :: Ref WindowBase -> Event -> IO (Either UnknownEvent ())
- resizeWindowBase :: Ref WindowBase -> Rectangle -> IO ()
- hideWindowBase :: Ref WindowBase -> IO ()
- showWidgetWindowBase :: Ref WindowBase -> IO ()
- flushWindowBase :: Ref WindowBase -> IO ()
Documentation
data CustomWindowFuncs a Source #
CustomWindowFuncs | |
|
data OptionalSizeRangeArgs Source #
data PositionSpec Source #
ByPosition Position | |
forall a.Parent a WidgetBase => ByWidget (Ref a) |
data WindowType Source #
Instances
Enum WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Window succ :: WindowType -> WindowType # pred :: WindowType -> WindowType # toEnum :: Int -> WindowType # fromEnum :: WindowType -> Int # enumFrom :: WindowType -> [WindowType] # enumFromThen :: WindowType -> WindowType -> [WindowType] # enumFromTo :: WindowType -> WindowType -> [WindowType] # enumFromThenTo :: WindowType -> WindowType -> WindowType -> [WindowType] # | |
Eq WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Window (==) :: WindowType -> WindowType -> Bool # (/=) :: WindowType -> WindowType -> Bool # | |
Show WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Window showsPrec :: Int -> WindowType -> ShowS # show :: WindowType -> String # showList :: [WindowType] -> ShowS # |
defaultCustomWindowFuncs :: forall a. Parent a WindowBase => CustomWindowFuncs a Source #
fillCustomWidgetFunctionStruct :: forall a. Parent a WidgetBase => Ptr () -> Maybe (Ref a -> IO ()) -> CustomWidgetFuncs a -> IO () Source #
windowMaker :: forall a b. (Parent a WindowBase, Parent b WidgetBase) => Size -> Maybe Position -> Maybe Text -> Maybe (Ref b -> IO ()) -> CustomWidgetFuncs b -> CustomWindowFuncs a -> (Int -> Int -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> CString -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> Int -> Int -> Ptr () -> IO (Ptr ())) -> (Int -> Int -> Int -> Int -> CString -> Ptr () -> IO (Ptr ())) -> IO (Ref a) Source #
currentWindow :: Parent a WindowBase => IO (Ref a) Source #
handleWindowBase :: Ref WindowBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeWindowBase :: Ref WindowBase -> Rectangle -> IO () Source #
hideWindowBase :: Ref WindowBase -> IO () Source #
showWidgetWindowBase :: Ref WindowBase -> IO () Source #
flushWindowBase :: Ref WindowBase -> IO () Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Base.Widget | v Graphics.UI.FLTK.LowLevel.Base.Group | v Graphics.UI.FLTK.LowLevel.Base.Window
Functions
changed ::Ref
WindowBase
->IO
(Bool
) clearBorder ::Ref
WindowBase
->IO
() copyLabel ::Ref
WindowBase
->Text
->IO
() destroy ::Ref
WindowBase
->IO
() drawBackdrop ::Ref
WindowBase
->IO
() drawBox ::Ref
WindowBase
->IO
() drawBoxWithBoxtype ::Ref
WindowBase
->Boxtype
->Color
->Maybe
Rectangle
->IO
() drawFocus ::Ref
WindowBase
->Maybe
(Boxtype
,Rectangle
) ->IO
() flush ::Ref
WindowBase
->IO
() freePosition ::Ref
WindowBase
->IO
() fullscreenOff ::Ref
WindowBase
->Maybe
Rectangle
->IO
() getBorder ::Ref
WindowBase
->IO
(Bool
) getDecoratedH ::Ref
WindowBase
->IO
(Int
) getDecoratedW ::Ref
WindowBase
->IO
(Int
) getIcon ::Ref
WindowBase
->IO
(Maybe
(Ref
Image
)) getIconlabel ::Ref
WindowBase
->IO
Text
getLabel ::Ref
WindowBase
->IO
Text
getMenuWindow ::Ref
WindowBase
->IO
(Bool
) getModal ::Ref
WindowBase
->IO
(Bool
) getOverride ::Ref
WindowBase
->IO
(Bool
) getTooltipWindow ::Ref
WindowBase
->IO
(Bool
) getType_ ::Ref
WindowBase
->IO
(WindowType
) getXRoot ::Ref
WindowBase
->IO
(X
) getXclass ::Ref
WindowBase
->IO
Text
getYRoot ::Ref
WindowBase
->IO
(Y
) handle ::Ref
WindowBase
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
WindowBase
->IO
() hotSpot ::Ref
WindowBase
->PositionSpec
->Maybe
Bool
->IO
() iconize ::Ref
WindowBase
->IO
() makeCurrent ::Ref
WindowBase
->IO
() makeFullscreen ::Ref
WindowBase
->IO
() nonModal ::Ref
WindowBase
->IO
(Bool
) resize ::Ref
WindowBase
->Rectangle
->IO
() setBorder ::Ref
WindowBase
->Bool
->IO
() setCallback ::Ref
WindowBase
-> (Ref
orig ->IO
()) ->IO
() setCursor ::Ref
WindowBase
->Cursor
->IO
() setCursorWithFgBg ::Ref
WindowBase
->Cursor
-> (Maybe
Color
,Maybe
Color
) ->IO
() setDefaultCursor ::Ref
WindowBase
->CursorType
->IO
() setDefaultCursorWithFgBg ::Ref
WindowBase
->CursorType
-> (Maybe
Color
,Maybe
Color
) ->IO
() setIcon:: (Parent
aRGBImage
) =>Ref
WindowBase
->Maybe
(Ref
a ) ->IO
() setIconlabel ::Ref
WindowBase
->Text
->IO
() setLabel ::Ref
WindowBase
->Text
->IO
() setLabelWithIconlabel ::Ref
WindowBase
->Text
->Text
->IO
() setMenuWindow ::Ref
WindowBase
->IO
() setModal ::Ref
WindowBase
->IO
() setNonModal ::Ref
WindowBase
->IO
() setOverride ::Ref
WindowBase
->IO
() setTooltipWindow ::Ref
WindowBase
->IO
() setType ::Ref
WindowBase
->WindowType
->IO
() setXclass ::Ref
WindowBase
->Text
->IO
() showWidget ::Ref
WindowBase
->IO
() shown ::Ref
WindowBase
->IO
(Bool
) sizeRange ::Ref
WindowBase
->Size
->IO
() sizeRangeWithArgs ::Ref
WindowBase
->Size
->OptionalSizeRangeArgs
->IO
() waitForExpose ::Ref
WindowBase
->IO
()