| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.Base.Window
Synopsis
- data CustomWindowFuncs a = CustomWindowFuncs {
- flushCustom :: Maybe (Ref a -> IO ())
- data OptionalSizeRangeArgs = OptionalSizeRangeArgs {}
- data PositionSpec
- = ByPosition Position
- | 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 #
Constructors
| CustomWindowFuncs | |
Fields
| |
data OptionalSizeRangeArgs Source #
data PositionSpec Source #
Constructors
| ByPosition Position | |
| Parent a WidgetBase => ByWidget (Ref a) |
data WindowType Source #
Constructors
| SingleWindowType | |
| DoubleWindowType |
Instances
| Enum WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Window Methods 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 | |
| Show WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Window Methods 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 ::RefWindowBase->IO(Bool) clearBorder ::RefWindowBase->IO() copyLabel ::RefWindowBase->Text->IO() destroy ::RefWindowBase->IO() drawBackdrop ::RefWindowBase->IO() drawBox ::RefWindowBase->IO() drawBoxWithBoxtype ::RefWindowBase->Boxtype->Color->MaybeRectangle->IO() drawFocus ::RefWindowBase->Maybe(Boxtype,Rectangle) ->IO() flush ::RefWindowBase->IO() freePosition ::RefWindowBase->IO() fullscreenOff ::RefWindowBase->MaybeRectangle->IO() getBorder ::RefWindowBase->IO(Bool) getDecoratedH ::RefWindowBase->IO(Int) getDecoratedW ::RefWindowBase->IO(Int) getIcon ::RefWindowBase->IO(Maybe(RefImage)) getIconlabel ::RefWindowBase->IOTextgetLabel ::RefWindowBase->IOTextgetMenuWindow ::RefWindowBase->IO(Bool) getModal ::RefWindowBase->IO(Bool) getOverride ::RefWindowBase->IO(Bool) getTooltipWindow ::RefWindowBase->IO(Bool) getType_ ::RefWindowBase->IO(WindowType) getXRoot ::RefWindowBase->IO(Int) getXclass ::RefWindowBase->IOTextgetYRoot ::RefWindowBase->IO(Int) handle ::RefWindowBase->Event->IO(EitherUnknownEvent()) hide ::RefWindowBase->IO() hotSpot ::RefWindowBase->PositionSpec->MaybeBool->IO() iconize ::RefWindowBase->IO() makeCurrent ::RefWindowBase->IO() makeFullscreen ::RefWindowBase->IO() nonModal ::RefWindowBase->IO(Bool) resize ::RefWindowBase->Rectangle->IO() setBorder ::RefWindowBase->Bool->IO() setCallback ::RefWindowBase-> (Reforig ->IO()) ->IO() setCursor ::RefWindowBase->Cursor->IO() setCursorWithFgBg ::RefWindowBase->Cursor-> (MaybeColor,MaybeColor) ->IO() setDefaultCursor ::RefWindowBase->CursorType->IO() setDefaultCursorWithFgBg ::RefWindowBase->CursorType-> (MaybeColor,MaybeColor) ->IO() setIcon:: (ParentaImage) =>RefWindowBase->Maybe(Refa ) ->IO() setIconlabel ::RefWindowBase->Text->IO() setLabel ::RefWindowBase->Text->IO() setLabelWithIconlabel ::RefWindowBase->Text->Text->IO() setMenuWindow ::RefWindowBase->IO() setModal ::RefWindowBase->IO() setNonModal ::RefWindowBase->IO() setOverride ::RefWindowBase->IO() setTooltipWindow ::RefWindowBase->IO() setType ::RefWindowBase->WindowType->IO() setXclass ::RefWindowBase->Text->IO() showWidget ::RefWindowBase->IO() shown ::RefWindowBase->IO(Bool) sizeRange ::RefWindowBase->Size->IO() sizeRangeWithArgs ::RefWindowBase->Size->OptionalSizeRangeArgs->IO() waitForExpose ::RefWindowBase->IO()