monomer-1.1.1.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Main.Lens

Description

Lenses for the Main types.

Documentation

class HasDisposeEvent s a | s -> a where Source #

Methods

disposeEvent :: Lens' s a Source #

Instances

Instances details
HasDisposeEvent (AppConfig e) [e] Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

disposeEvent :: Lens' (AppConfig e) [e] Source #

class HasExitEvent s a | s -> a where Source #

Methods

exitEvent :: Lens' s a Source #

Instances

Instances details
HasExitEvent (AppConfig e) [e] Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

exitEvent :: Lens' (AppConfig e) [e] Source #

class HasFonts s a | s -> a where Source #

Methods

fonts :: Lens' s a Source #

Instances

Instances details
HasFonts (AppConfig e) [FontDef] Source # 
Instance details

Defined in Monomer.Main.Lens

class HasInitEvent s a | s -> a where Source #

Methods

initEvent :: Lens' s a Source #

Instances

Instances details
HasInitEvent (AppConfig e) [e] Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

initEvent :: Lens' (AppConfig e) [e] Source #

class HasInvertWheelX s a | s -> a where Source #

Methods

invertWheelX :: Lens' s a Source #

Instances

Instances details
HasInvertWheelX (AppConfig e) (Maybe Bool) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasInvertWheelY s a | s -> a where Source #

Methods

invertWheelY :: Lens' s a Source #

Instances

Instances details
HasInvertWheelY (AppConfig e) (Maybe Bool) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasMaxFps s a | s -> a where Source #

Methods

maxFps :: Lens' s a Source #

Instances

Instances details
HasMaxFps (AppConfig e) (Maybe Int) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasResizeEvent s a | s -> a where Source #

Methods

resizeEvent :: Lens' s a Source #

Instances

Instances details
HasResizeEvent (AppConfig e) [Rect -> e] Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

resizeEvent :: Lens' (AppConfig e) [Rect -> e] Source #

class HasScaleFactor s a | s -> a where Source #

Methods

scaleFactor :: Lens' s a Source #

Instances

Instances details
HasScaleFactor (AppConfig e) (Maybe Double) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasUseRenderThread s a | s -> a where Source #

Instances

Instances details
HasUseRenderThread (AppConfig e) (Maybe Bool) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWindowBorder s a | s -> a where Source #

Methods

windowBorder :: Lens' s a Source #

Instances

Instances details
HasWindowBorder (AppConfig e) (Maybe Bool) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWindowResizable s a | s -> a where Source #

Instances

Instances details
HasWindowResizable (AppConfig e) (Maybe Bool) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWindowState s a | s -> a where Source #

Methods

windowState :: Lens' s a Source #

Instances

Instances details
HasWindowState (AppConfig e) (Maybe MainWindowState) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWindowTitle s a | s -> a where Source #

Methods

windowTitle :: Lens' s a Source #

Instances

Instances details
HasWindowTitle (AppConfig e) (Maybe Text) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasCursorIcons s a | s -> a where Source #

Methods

cursorIcons :: Lens' s a Source #

Instances

Instances details
HasCursorIcons (MonomerCtx s e) (Map CursorIcon Cursor) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasCursorStack s a | s -> a where Source #

Methods

cursorStack :: Lens' s a Source #

Instances

Instances details
HasCursorStack (MonomerCtx s e) [(WidgetId, CursorIcon)] Source # 
Instance details

Defined in Monomer.Main.Lens

class HasDragAction s a | s -> a where Source #

Methods

dragAction :: Lens' s a Source #

Instances

Instances details
HasDragAction (MonomerCtx s e) (Maybe DragAction) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasEpr s a | s -> a where Source #

Methods

epr :: Lens' s a Source #

Instances

Instances details
HasEpr (MonomerCtx s e) Double Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

epr :: Lens' (MonomerCtx s e) Double Source #

class HasExitApplication s a | s -> a where Source #

Instances

Instances details
HasExitApplication (MonomerCtx s e) Bool Source # 
Instance details

Defined in Monomer.Main.Lens

class HasFocusedWidgetId s a | s -> a where Source #

Instances

Instances details
HasFocusedWidgetId (MonomerCtx s e) WidgetId Source # 
Instance details

Defined in Monomer.Main.Lens

class HasHoveredWidgetId s a | s -> a where Source #

Instances

Instances details
HasHoveredWidgetId (MonomerCtx s e) (Maybe WidgetId) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasLeaveEnterPair s a | s -> a where Source #

Instances

Instances details
HasLeaveEnterPair (MonomerCtx s e) Bool Source # 
Instance details

Defined in Monomer.Main.Lens

class HasMainModel s a | s -> a where Source #

Methods

mainModel :: Lens' s a Source #

Instances

Instances details
HasMainModel (MonomerCtx s e) s Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

mainModel :: Lens' (MonomerCtx s e) s Source #

class HasOverlayWidgetId s a | s -> a where Source #

Instances

Instances details
HasOverlayWidgetId (MonomerCtx s e) (Maybe WidgetId) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasRenderChannel s a | s -> a where Source #

Methods

renderChannel :: Lens' s a Source #

Instances

Instances details
HasRenderChannel (MonomerCtx s e) (TChan (RenderMsg s e)) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasRenderRequested s a | s -> a where Source #

Instances

Instances details
HasRenderRequested (MonomerCtx s e) Bool Source # 
Instance details

Defined in Monomer.Main.Lens

class HasRenderSchedule s a | s -> a where Source #

Instances

Instances details
HasRenderSchedule (MonomerCtx s e) (Map WidgetId RenderSchedule) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasResizeRequests s a | s -> a where Source #

Instances

Instances details
HasResizeRequests (MonomerCtx s e) (Seq WidgetId) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWidgetPaths s a | s -> a where Source #

Methods

widgetPaths :: Lens' s a Source #

Instances

Instances details
HasWidgetPaths (MonomerCtx s e) (Map WidgetId Path) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWidgetTasks s a | s -> a where Source #

Methods

widgetTasks :: Lens' s a Source #

Instances

Instances details
HasWidgetTasks (MonomerCtx s e) (Seq WidgetTask) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasWindow s a | s -> a where Source #

Methods

window :: Lens' s a Source #

Instances

Instances details
HasWindow (MonomerCtx s e) Window Source # 
Instance details

Defined in Monomer.Main.Lens

class HasDragData s a | s -> a where Source #

Methods

dragData :: Lens' s a Source #

Instances

Instances details
HasDragData DragAction WidgetDragMsg Source # 
Instance details

Defined in Monomer.Main.Lens

class HasMs s a | s -> a where Source #

Methods

ms :: Lens' s a Source #

Instances

Instances details
HasMs RenderSchedule Int Source # 
Instance details

Defined in Monomer.Main.Lens

class HasRepeat s a | s -> a where Source #

Methods

repeat :: Lens' s a Source #

Instances

Instances details
HasRepeat RenderSchedule (Maybe Int) Source # 
Instance details

Defined in Monomer.Main.Lens

class HasStart s a | s -> a where Source #

Methods

start :: Lens' s a Source #

Instances

Instances details
HasStart RenderSchedule Int Source # 
Instance details

Defined in Monomer.Main.Lens

Orphan instances