| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.Window
Synopsis
- data CustomWindowFuncs a = CustomWindowFuncs {
- flushCustom :: Maybe (Ref a -> IO ())
- data OptionalSizeRangeArgs = OptionalSizeRangeArgs {}
- data PositionSpec
- data WindowType
- defaultCustomWindowFuncs :: forall a. Parent a Window => CustomWindowFuncs a
- fillCustomWidgetFunctionStruct :: forall a. Parent a Widget => 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 Window, Parent b Widget) => 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 Window => IO (Ref a)
Documentation
data CustomWindowFuncs a Source #
Constructors
| CustomWindowFuncs | |
Fields
| |
data OptionalSizeRangeArgs Source #
data PositionSpec Source #
data WindowType Source #
Constructors
| SingleWindowType | |
| DoubleWindowType |
Instances
| Enum WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.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.Window | |
| Show WindowType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Window Methods showsPrec :: Int -> WindowType -> ShowS # show :: WindowType -> String # showList :: [WindowType] -> ShowS # | |
defaultCustomWindowFuncs :: forall a. Parent a Window => CustomWindowFuncs a Source #
fillCustomWidgetFunctionStruct :: forall a. Parent a Widget => Ptr () -> Maybe (Ref a -> IO ()) -> CustomWidgetFuncs a -> IO () Source #
windowMaker :: forall a b. (Parent a Window, Parent b Widget) => 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 #
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.Group | v Graphics.UI.FLTK.LowLevel.Window
Functions
changed ::RefWindow->IO(Bool) clearBorder ::RefWindow->IO() copyLabel ::RefWindow->Text->IO() destroy ::RefWindow->IO() drawBackdrop ::RefWindow->IO() drawBox ::RefWindow->IO() drawBoxWithBoxtype ::RefWindow->Boxtype->Color->MaybeRectangle->IO() drawFocus ::RefWindow->Maybe(Boxtype,Rectangle) ->IO() drawSuper ::RefWindow->IO() flushSuper ::RefWindow->IO() freePosition ::RefWindow->IO() fullscreenOff ::RefWindow->MaybeRectangle->IO() getBorder ::RefWindow->IO(Bool) getDecoratedH ::RefWindow->IO(Int) getDecoratedW ::RefWindow->IO(Int) getIcon ::RefWindow->IO(Maybe(RefImage)) getIconlabel ::RefWindow->IOTextgetLabel ::RefWindow->IOTextgetMenuWindow ::RefWindow->IO(Bool) getModal ::RefWindow->IO(Bool) getOverride ::RefWindow->IO(Bool) getTooltipWindow ::RefWindow->IO(Bool) getType_ ::RefWindow->IO(WindowType) getXRoot ::RefWindow->IO(Int) getXclass ::RefWindow->IOTextgetYRoot ::RefWindow->IO(Int) handle ::RefWindow->Event->IO(EitherUnknownEvent()) handleSuper ::RefWindow->Event->IO(EitherUnknownEvent()) hide ::RefWindow->IO() hideSuper ::RefWindow->IO() hotSpot ::RefWindow->PositionSpec->MaybeBool->IO() iconize ::RefWindow->IO() makeCurrent ::RefWindow->IO() makeFullscreen ::RefWindow->IO() nonModal ::RefWindow->IO(Bool) resize ::RefWindow->Rectangle->IO() resizeSuper ::RefWindow->Rectangle->IO() setBorder ::RefWindow->Bool->IO() setCallback ::RefWindow-> (Reforig ->IO()) ->IO() setCursor ::RefWindow->Cursor->IO() setCursorWithFgBg ::RefWindow->Cursor-> (MaybeColor,MaybeColor) ->IO() setDefaultCursor ::RefWindow->CursorType->IO() setDefaultCursorWithFgBg ::RefWindow->CursorType-> (MaybeColor,MaybeColor) ->IO() setIcon:: (ParentaImage) =>RefWindow->Maybe(Refa ) ->IO() setIconlabel ::RefWindow->Text->IO() setLabel ::RefWindow->Text->IO() setLabelWithIconlabel ::RefWindow->Text->Text->IO() setMenuWindow ::RefWindow->IO() setModal ::RefWindow->IO() setNonModal ::RefWindow->IO() setOverride ::RefWindow->IO() setTooltipWindow ::RefWindow->IO() setType ::RefWindow->WindowType->IO() setXclass ::RefWindow->Text->IO() showWidget ::RefWindow->IO() showWidgetSuper ::RefWindow->IO() shown ::RefWindow->IO(Bool) sizeRange ::RefWindow->Size->IO() sizeRangeWithArgs ::RefWindow->Size->OptionalSizeRangeArgs->IO() waitForExpose ::RefWindow->IO()
Orphan instances
| impl ~ IO () => Op (WaitForExpose ()) Window orig impl Source # | |
| impl ~ IO Int => Op (GetDecoratedH ()) Window orig impl Source # | |
| impl ~ IO Int => Op (GetDecoratedW ()) Window orig impl Source # | |
| impl ~ (CursorType -> (Maybe Color, Maybe Color) -> IO ()) => Op (SetDefaultCursorWithFgBg ()) Window orig impl Source # | |
| impl ~ (CursorType -> IO ()) => Op (SetDefaultCursor ()) Window orig impl Source # | |
| impl ~ (Cursor -> (Maybe Color, Maybe Color) -> IO ()) => Op (SetCursorWithFgBg ()) Window orig impl Source # | |
| impl ~ (Cursor -> IO ()) => Op (SetCursor ()) Window orig impl Source # | |
| impl ~ IO () => Op (MakeCurrent ()) Window orig impl Source # | |
| impl ~ IO Int => Op (GetYRoot ()) Window orig impl Source # | |
| impl ~ IO Int => Op (GetXRoot ()) Window orig impl Source # | |
| impl ~ IO () => Op (Iconize ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (Shown ()) Window orig impl Source # | |
| (Parent a Image, impl ~ (Maybe (Ref a) -> IO ())) => Op (SetIcon ()) Window orig impl Source # | |
| impl ~ IO (Maybe (Ref Image)) => Op (GetIcon ()) Window orig impl Source # | |
| impl ~ (Text -> IO ()) => Op (SetXclass ()) Window orig impl Source # | |
| impl ~ IO Text => Op (GetXclass ()) Window orig impl Source # | |
| impl ~ (Text -> Text -> IO ()) => Op (SetLabelWithIconlabel ()) Window orig impl Source # | |
| impl ~ (Text -> IO ()) => Op (SetIconlabel ()) Window orig impl Source # | |
| impl ~ IO Text => Op (GetIconlabel ()) Window orig impl Source # | |
| impl ~ (Size -> OptionalSizeRangeArgs -> IO ()) => Op (SizeRangeWithArgs ()) Window orig impl Source # | |
| impl ~ (Size -> IO ()) => Op (SizeRange ()) Window orig impl Source # | |
| impl ~ IO () => Op (FreePosition ()) Window orig impl Source # | |
| impl ~ (PositionSpec -> Maybe Bool -> IO ()) => Op (HotSpot ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (GetTooltipWindow ()) Window orig impl Source # | |
| impl ~ IO () => Op (SetTooltipWindow ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (GetMenuWindow ()) Window orig impl Source # | |
| impl ~ IO () => Op (SetMenuWindow ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (NonModal ()) Window orig impl Source # | |
| impl ~ IO () => Op (SetNonModal ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (GetModal ()) Window orig impl Source # | |
| impl ~ IO () => Op (SetModal ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (GetOverride ()) Window orig impl Source # | |
| impl ~ IO () => Op (SetOverride ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (GetBorder ()) Window orig impl Source # | |
| impl ~ IO () => Op (ClearBorder ()) Window orig impl Source # | |
| impl ~ (Bool -> IO ()) => Op (SetBorder ()) Window orig impl Source # | |
| impl ~ (Maybe Rectangle -> IO ()) => Op (FullscreenOff ()) Window orig impl Source # | |
| impl ~ IO () => Op (MakeFullscreen ()) Window orig impl Source # | |
| impl ~ IO Bool => Op (Changed ()) Window orig impl Source # | |
| impl ~ IO () => Op (FlushSuper ()) Window orig impl Source # | |
| impl ~ (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) Window orig impl Source # | |
| impl ~ IO () => Op (DrawSuper ()) Window orig impl Source # | |
| impl ~ (Maybe (Boxtype, Rectangle) -> IO ()) => Op (DrawFocus ()) Window orig impl Source # | |
| impl ~ IO () => Op (DrawBackdrop ()) Window orig impl Source # | |
| impl ~ (Boxtype -> Color -> Maybe Rectangle -> IO ()) => Op (DrawBoxWithBoxtype ()) Window orig impl Source # | |
| impl ~ IO () => Op (DrawBox ()) Window orig impl Source # | |
| impl ~ ((Ref orig -> IO ()) -> IO ()) => Op (SetCallback ()) Window orig impl Source # | |
| impl ~ (Rectangle -> IO ()) => Op (Resize ()) Window orig impl Source # | |
| impl ~ (Rectangle -> IO ()) => Op (ResizeSuper ()) Window orig impl Source # | |
| impl ~ IO () => Op (Hide ()) Window orig impl Source # | |
| impl ~ IO () => Op (HideSuper ()) Window orig impl Source # | |
| impl ~ IO () => Op (ShowWidget ()) Window orig impl Source # | |
| impl ~ IO () => Op (ShowWidgetSuper ()) Window orig impl Source # | |
| impl ~ (Text -> IO ()) => Op (SetLabel ()) Window orig impl Source # | |
| impl ~ (Text -> IO ()) => Op (CopyLabel ()) Window orig impl Source # | |
| impl ~ IO Text => Op (GetLabel ()) Window orig impl Source # | |
| impl ~ (WindowType -> IO ()) => Op (SetType ()) Window orig impl Source # | |
| impl ~ IO WindowType => Op (GetType_ ()) Window orig impl Source # | |
| impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) Window orig impl Source # | |
| impl ~ IO () => Op (Destroy ()) Window orig impl Source # | |