fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.GlWindow

Synopsis

Documentation

glWindowCustom Source #

Arguments

:: Size

The size of this window

-> Maybe Position

The position of this window

-> Maybe Text

The window label

-> Maybe (Ref GlWindow -> IO ())

Optional custom drawing function

-> CustomWidgetFuncs GlWindow

other custom widget functions

-> CustomWindowFuncs GlWindow

Other custom window functions

-> IO (Ref GlWindow) 

Hierarchy

GlWindow functions

canDo :: Ref GlWindowBase -> IO (Bool)

canDoOverlay :: Ref GlWindowBase -> IO (Bool)

destroy :: Ref GlWindowBase -> IO ()

flush :: Ref GlWindowBase -> IO ()

getContext :: Ref GlWindowBase -> IO (Ref FlGlContext)

getContextValid :: Ref GlWindowBase -> IO (Bool)

getMode :: Ref GlWindowBase -> IO (Modes)

getValid :: Ref GlWindowBase -> IO (Bool)

handle :: Ref GlWindowBase -> Event -> IO( Either UnknownEvent () )

hide :: Ref GlWindowBase -> IO ()

hideOverlay :: Ref GlWindowBase -> IO ()

invalidate :: Ref GlWindowBase -> IO ()

makeOverlayCurrent :: Ref GlWindowBase -> IO ()

ortho :: Ref GlWindowBase -> IO ()

pixelH :: Ref GlWindowBase -> IO (Int)

pixelW :: Ref GlWindowBase -> IO (Int)

pixelsPerUnit :: Ref GlWindowBase -> IO (Float)

redrawOverlay :: Ref GlWindowBase -> IO ()

resize :: Ref GlWindowBase -> Rectangle -> IO ()

setContext :: Ref GlWindowBase -> Ref FlGlContext -> IO ()

setContextValid :: Ref GlWindowBase -> Bool -> IO ()

setContextWithDestroyFlag :: Ref GlWindowBase -> Ref FlGlContext -> Bool -> IO ()

setMode :: Ref GlWindowBase -> Modes -> IO ()

setValid :: Ref GlWindowBase -> Bool -> IO ()

showWidget :: Ref GlWindowBase -> IO ()

swapBuffers :: Ref GlWindowBase -> IO ()

Orphan instances

impl ~ IO Int => Op (PixelW ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: PixelW () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Int => Op (PixelH ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: PixelH () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Float => Op (PixelsPerUnit ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: PixelsPerUnit () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (MakeOverlayCurrent ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: MakeOverlayCurrent () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (HideOverlay ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: HideOverlay () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (Ortho ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Ortho () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (SwapBuffers ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SwapBuffers () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Ref FlGlContext -> Bool -> IO ()) => Op (SetContextWithDestroyFlag ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SetContextWithDestroyFlag () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Ref FlGlContext -> IO ()) => Op (SetContext ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SetContext () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO (Ref FlGlContext) => Op (GetContext ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: GetContext () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Bool => Op (CanDo ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: CanDo () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetContextValid ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SetContextValid () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Bool => Op (GetContextValid ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: GetContextValid () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (Invalidate ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Invalidate () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetValid ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SetValid () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Bool => Op (GetValid ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: GetValid () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Modes => Op (GetMode ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: GetMode () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Modes -> IO ()) => Op (SetMode ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: SetMode () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (Flush ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Flush () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (RedrawOverlay ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: RedrawOverlay () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO Bool => Op (CanDoOverlay ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: CanDoOverlay () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Rectangle -> IO ()) => Op (Resize ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Resize () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (Hide ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Hide () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (ShowWidget ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: ShowWidget () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Handle () -> orig -> Ref GlWindowBase -> impl Source #

impl ~ IO () => Op (Destroy ()) GlWindowBase orig impl Source # 
Instance details

Methods

runOp :: Destroy () -> orig -> Ref GlWindowBase -> impl Source #