fltkhs-0.5.4.4: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.GlWindow

Contents

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 GlWindow -> IO (Bool)

canDoOverlay :: Ref GlWindow -> IO (Bool)

destroy :: Ref GlWindow -> IO ()

drawSuper :: Ref GlWindow -> IO ()

flush :: Ref GlWindow -> IO ()

flushSuper :: Ref GlWindow -> IO ()

getContext :: Ref GlWindow -> IO (Ref GlContext)

getContextValid :: Ref GlWindow -> IO (Bool)

getMode :: Ref GlWindow -> IO (Mode)

getValid :: Ref GlWindow -> IO (Bool)

handle :: Ref GlWindow -> Event -> 'IO(Either' UnknownEvent ())

handleSuper :: Ref GlWindow -> Event -> IO (Either UnknownEvent ())

hide :: Ref GlWindow -> IO ()

hideOverlay :: Ref GlWindow -> IO ()

hideSuper :: Ref GlWindow -> IO ()

invalidate :: Ref GlWindow -> IO ()

makeOverlayCurrent :: Ref GlWindow -> IO ()

ortho :: Ref GlWindow -> IO ()

redrawOverlay :: Ref GlWindow -> IO ()

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

resizeSuper :: Ref GlWindow -> Rectangle -> IO ()

setContext :: Ref GlWindow -> Ref GlContext -> IO ()

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

setContextWithDestroyFlag :: Ref GlWindow -> Ref GlContext -> Bool -> IO ()

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

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

showWidget :: Ref GlWindow -> IO ()

showWidgetSuper :: Ref GlWindow -> IO ()

swapBuffers :: Ref GlWindow -> IO ()

Available in FLTK 1.3.4 only:

pixelH :: Ref GlWindow -> IO (Int)

pixelW :: Ref GlWindow -> IO (Int)

pixelsPerUnit :: Ref GlWindow -> IO (Float)

Orphan instances

(~) * impl (IO Int) => Op (PixelW ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (PixelH ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Float) => Op (PixelsPerUnit ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (MakeOverlayCurrent ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (HideOverlay ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Ortho ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (SwapBuffers ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Ref GlContext -> Bool -> IO ()) => Op (SetContextWithDestroyFlag ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Ref GlContext -> IO ()) => Op (SetContext ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO (Ref GlContext)) => Op (GetContext ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Bool) => Op (CanDo ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Bool -> IO ()) => Op (SetContextValid ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Bool) => Op (GetContextValid ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Invalidate ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Bool -> IO ()) => Op (SetValid ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Bool) => Op (GetValid ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Mode) => Op (GetMode ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Modes -> IO ()) => Op (SetMode ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Flush ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (RedrawOverlay ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO Bool) => Op (CanDoOverlay ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (FlushSuper ()) GlWindow orig impl Source # 

Methods

runOp :: FlushSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) GlWindow orig impl Source # 

Methods

runOp :: HandleSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (IO ()) => Op (DrawSuper ()) GlWindow orig impl Source # 

Methods

runOp :: DrawSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (Rectangle -> IO ()) => Op (Resize ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) GlWindow orig impl Source # 

Methods

runOp :: ResizeSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (IO ()) => Op (Hide ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (HideSuper ()) GlWindow orig impl Source # 

Methods

runOp :: HideSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (IO ()) => Op (ShowWidget ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (ShowWidgetSuper ()) GlWindow orig impl Source # 

Methods

runOp :: ShowWidgetSuper () -> orig -> Ref GlWindow -> impl Source #

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) GlWindow orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Destroy ()) GlWindow orig impl Source # 

Methods

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