monomer-1.6.0.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 HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Core.Lens

Description

Lenses for the Core types.

Documentation

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

Methods

extra :: Lens' s a Source #

Instances

Instances details
HasExtra SizeReq Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

factor :: Lens' s a Source #

Instances

Instances details
HasFactor SizeReq Factor Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fixed :: Lens' s a Source #

Instances

Instances details
HasFixed SizeReq Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

flex :: Lens' s a Source #

Instances

Instances details
HasFlex SizeReq Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

bottom :: Lens' s a Source #

Instances

Instances details
HasBottom Border (Maybe BorderSide) Source # 
Instance details

Defined in Monomer.Core.Lens

HasBottom Padding (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

left :: Lens' s a Source #

Instances

Instances details
HasLeft Border (Maybe BorderSide) Source # 
Instance details

Defined in Monomer.Core.Lens

HasLeft Padding (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

right :: Lens' s a Source #

Instances

Instances details
HasRight Border (Maybe BorderSide) Source # 
Instance details

Defined in Monomer.Core.Lens

HasRight Padding (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

top :: Lens' s a Source #

Instances

Instances details
HasTop Border (Maybe BorderSide) Source # 
Instance details

Defined in Monomer.Core.Lens

HasTop Padding (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

color :: Lens' s a Source #

Instances

Instances details
HasColor BorderSide Color Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

width :: Lens' s a Source #

Instances

Instances details
HasWidth BorderSide Double Source # 
Instance details

Defined in Monomer.Core.Lens

HasWidth RadiusCorner Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

bottomLeft :: Lens' s a Source #

Instances

Instances details
HasBottomLeft Radius (Maybe RadiusCorner) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

bottomRight :: Lens' s a Source #

Instances

Instances details
HasBottomRight Radius (Maybe RadiusCorner) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

topLeft :: Lens' s a Source #

Instances

Instances details
HasTopLeft Radius (Maybe RadiusCorner) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

topRight :: Lens' s a Source #

Instances

Instances details
HasTopRight Radius (Maybe RadiusCorner) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

alignH :: Lens' s a Source #

Instances

Instances details
HasAlignH TextStyle (Maybe AlignTH) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

alignV :: Lens' s a Source #

Instances

Instances details
HasAlignV TextStyle (Maybe AlignTV) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

font :: Lens' s a Source #

Instances

Instances details
HasFont TextLine Font Source # 
Instance details

Defined in Monomer.Graphics.Lens

HasFont TextStyle (Maybe Font) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fontColor :: Lens' s a Source #

Instances

Instances details
HasFontColor TextStyle (Maybe Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fontSize :: Lens' s a Source #

Instances

Instances details
HasFontSize TextLine FontSize Source # 
Instance details

Defined in Monomer.Graphics.Lens

HasFontSize TextStyle (Maybe FontSize) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fontSpaceH :: Lens' s a Source #

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

Methods

fontSpaceV :: Lens' s a Source #

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

Methods

lineBreak :: Lens' s a Source #

Instances

Instances details
HasLineBreak TextStyle (Maybe LineBreak) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

overline :: Lens' s a Source #

Instances

Instances details
HasOverline TextStyle (Maybe Bool) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

throughline :: Lens' s a Source #

Instances

Instances details
HasThroughline TextStyle (Maybe Bool) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

underline :: Lens' s a Source #

Instances

Instances details
HasUnderline TextStyle (Maybe Bool) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

bgColor :: Lens' s a Source #

Instances

Instances details
HasBgColor StyleState (Maybe Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

border :: Lens' s a Source #

Instances

Instances details
HasBorder StyleState (Maybe Border) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

cursorIcon :: Lens' s a Source #

Instances

Instances details
HasCursorIcon StyleState (Maybe CursorIcon) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fgColor :: Lens' s a Source #

Instances

Instances details
HasFgColor StyleState (Maybe Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

hlColor :: Lens' s a Source #

Instances

Instances details
HasHlColor StyleState (Maybe Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

padding :: Lens' s a Source #

Instances

Instances details
HasPadding StyleState (Maybe Padding) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

radius :: Lens' s a Source #

Instances

Instances details
HasRadius StyleState (Maybe Radius) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sizeReqH :: Lens' s a Source #

Instances

Instances details
HasSizeReqH WidgetNodeInfo SizeReq Source # 
Instance details

Defined in Monomer.Core.Lens

HasSizeReqH StyleState (Maybe SizeReq) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sizeReqW :: Lens' s a Source #

Instances

Instances details
HasSizeReqW WidgetNodeInfo SizeReq Source # 
Instance details

Defined in Monomer.Core.Lens

HasSizeReqW StyleState (Maybe SizeReq) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sndColor :: Lens' s a Source #

Instances

Instances details
HasSndColor StyleState (Maybe Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

text :: Lens' s a Source #

Instances

Instances details
HasText TextLine Text Source # 
Instance details

Defined in Monomer.Graphics.Lens

HasText StyleState (Maybe TextStyle) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

active :: Lens' s a Source #

Instances

Instances details
HasActive Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasActive Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

basic :: Lens' s a Source #

Instances

Instances details
HasBasic Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasBasic Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

disabled :: Lens' s a Source #

Instances

Instances details
HasDisabled Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasDisabled Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

focus :: Lens' s a Source #

Instances

Instances details
HasFocus Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocus Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

focusHover :: Lens' s a Source #

Instances

Instances details
HasFocusHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasFocusHover Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

hover :: Lens' s a Source #

Instances

Instances details
HasHover Theme ThemeState Source # 
Instance details

Defined in Monomer.Core.Lens

HasHover Style (Maybe StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

btnMainStyle :: Lens' s a Source #

Instances

Instances details
HasBtnMainStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

btnStyle :: Lens' s a Source #

Instances

Instances details
HasBtnStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

checkboxStyle :: Lens' s a Source #

Instances

Instances details
HasCheckboxStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

checkboxWidth :: Lens' s a Source #

Instances

Instances details
HasCheckboxWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasColorPopupStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasDateFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

dialStyle :: Lens' s a Source #

Instances

Instances details
HasDialStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

dialWheelRate :: Lens' s a Source #

Instances

Instances details
HasDialWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

dialWidth :: Lens' s a Source #

Instances

Instances details
HasDialWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

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

Instances

Instances details
HasDialogFrameStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

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

Instances

Instances details
HasDialogTitleStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasDropdownItemStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasDropdownListStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasDropdownMaxHeight ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

dropdownStyle :: Lens' s a Source #

Instances

Instances details
HasDropdownStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasEmptyOverlayStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasExternalLinkStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

labelStyle :: Lens' s a Source #

Instances

Instances details
HasLabelStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasNumericFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasOptionBtnOffStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasOptionBtnOnStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

radioStyle :: Lens' s a Source #

Instances

Instances details
HasRadioStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

radioWidth :: Lens' s a Source #

Instances

Instances details
HasRadioWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollBarColor ThemeState Color Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollBarWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollFollowFocus ThemeState Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

scrollOverlay :: Lens' s a Source #

Instances

Instances details
HasScrollOverlay ThemeState Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollThumbColor ThemeState Color Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollThumbMinSize ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollThumbRadius ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollThumbWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasScrollWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

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

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

Instances

Instances details
HasSelectListStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

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

Instances

Instances details
HasSeparatorLineWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

shadowAlignH :: Lens' s a Source #

Instances

Instances details
HasShadowAlignH ThemeState AlignH Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

shadowAlignV :: Lens' s a Source #

Instances

Instances details
HasShadowAlignV ThemeState AlignV Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

shadowColor :: Lens' s a Source #

Instances

Instances details
HasShadowColor ThemeState Color Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sliderRadius :: Lens' s a Source #

Instances

Instances details
HasSliderRadius ThemeState (Maybe Double) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sliderStyle :: Lens' s a Source #

Instances

Instances details
HasSliderStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasSliderThumbFactor ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasSliderWheelRate ThemeState Rational Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sliderWidth :: Lens' s a Source #

Instances

Instances details
HasSliderWidth ThemeState Double Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

textAreaStyle :: Lens' s a Source #

Instances

Instances details
HasTextAreaStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasTextFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasTimeFieldStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasToggleBtnOffStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasToggleBtnOnStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

tooltipStyle :: Lens' s a Source #

Instances

Instances details
HasTooltipStyle ThemeState StyleState Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

userColorMap :: Lens' s a Source #

Instances

Instances details
HasUserColorMap Theme (Map String Color) Source # 
Instance details

Defined in Monomer.Core.Lens

HasUserColorMap ThemeState (Map String Color) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

userStyleMap :: Lens' s a Source #

Instances

Instances details
HasUserStyleMap ThemeState (Map String StyleState) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

clearColor :: Lens' s a Source #

Instances

Instances details
HasClearColor Theme Color Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

sectionColor :: Lens' s a Source #

Instances

Instances details
HasSectionColor Theme Color Source # 
Instance details

Defined in Monomer.Core.Lens

_WidgetLens :: forall s a s. Prism (WidgetData s a) (WidgetData s a) (ALens' s a) (ALens' s a) Source #

_WidgetValue :: forall s a. Prism' (WidgetData s a) a Source #

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

Methods

appStartTs :: Lens' s a Source #

Instances

Instances details
HasAppStartTs (WidgetEnv s e) Millisecond Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

contextButton :: Lens' s a Source #

Instances

Instances details
HasContextButton (WidgetEnv s e) Button Source # 
Instance details

Defined in Monomer.Core.Lens

HasContextButton (AppConfig s e) (Maybe Button) Source # 
Instance details

Defined in Monomer.Main.Lens

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

Methods

cursor :: Lens' s a Source #

Instances

Instances details
HasCursor (WidgetEnv s e) (Maybe (Path, CursorIcon)) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

dpr :: Lens' s a Source #

Instances

Instances details
HasDpr (WidgetEnv s e) Double Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

dpr :: Lens' (WidgetEnv s e) Double Source #

HasDpr (MonomerCtx s e) Double Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

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

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

Methods

dragStatus :: Lens' s a Source #

Instances

Instances details
HasDragStatus (WidgetEnv s e) (Maybe (Path, WidgetDragMsg)) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Instances

Instances details
HasFindBranchByPath (WidgetEnv s e) (Path -> Seq WidgetNodeInfo) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

focusedPath :: Lens' s a Source #

Instances

Instances details
HasFocusedPath (WidgetEnv s e) Path Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

fontManager :: Lens' s a Source #

Instances

Instances details
HasFontManager (WidgetEnv s e) FontManager Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

hoveredPath :: Lens' s a Source #

Instances

Instances details
HasHoveredPath (WidgetEnv s e) (Maybe Path) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

inTopLayer :: Lens' s a Source #

Instances

Instances details
HasInTopLayer (WidgetEnv s e) (Point -> Bool) Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

inTopLayer :: Lens' (WidgetEnv s e) (Point -> Bool) Source #

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

Methods

inputStatus :: Lens' s a Source #

Instances

Instances details
HasInputStatus (WidgetEnv s e) InputStatus Source # 
Instance details

Defined in Monomer.Core.Lens

HasInputStatus (MonomerCtx s e) InputStatus Source # 
Instance details

Defined in Monomer.Main.Lens

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

Methods

isGhci :: Lens' s a Source #

Instances

Instances details
HasIsGhci (WidgetEnv s e) Bool Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

isGhci :: Lens' (WidgetEnv s e) Bool Source #

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

Instances

Instances details
HasLayoutDirection (WidgetEnv s e) LayoutDirection Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

mainBtnPress :: Lens' s a Source #

Instances

Instances details
HasMainBtnPress (WidgetEnv s e) (Maybe (Path, Point)) Source # 
Instance details

Defined in Monomer.Core.Lens

HasMainBtnPress (MonomerCtx s e) (Maybe (Path, Point)) Source # 
Instance details

Defined in Monomer.Main.Lens

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

Methods

mainButton :: Lens' s a Source #

Instances

Instances details
HasMainButton (WidgetEnv s e) Button Source # 
Instance details

Defined in Monomer.Core.Lens

HasMainButton (AppConfig s e) (Maybe Button) Source # 
Instance details

Defined in Monomer.Main.Lens

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

Methods

model :: Lens' s a Source #

Instances

Instances details
HasModel (WidgetEnv s e) s Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

model :: Lens' (WidgetEnv s e) s Source #

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

Methods

offset :: Lens' s a Source #

Instances

Instances details
HasOffset (WidgetEnv s e) Point Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

os :: Lens' s a Source #

Instances

Instances details
HasOs (WidgetEnv s e) Text Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

os :: Lens' (WidgetEnv s e) Text Source #

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

Methods

overlayPath :: Lens' s a Source #

Instances

Instances details
HasOverlayPath (WidgetEnv s e) (Maybe Path) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

theme :: Lens' s a Source #

Instances

Instances details
HasTheme (WidgetEnv s e) Theme Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

theme :: Lens' (WidgetEnv s e) Theme Source #

HasTheme (AppConfig s e) (Maybe Theme) Source # 
Instance details

Defined in Monomer.Main.Lens

Methods

theme :: Lens' (AppConfig s e) (Maybe Theme) Source #

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

Methods

themeChanged :: Lens' s a Source #

Instances

Instances details
HasThemeChanged (WidgetEnv s e) Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

timestamp :: Lens' s a Source #

Instances

Instances details
HasTimestamp (WidgetEnv s e) Millisecond Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

viewport :: Lens' s a Source #

Instances

Instances details
HasViewport WidgetNodeInfo Rect Source # 
Instance details

Defined in Monomer.Core.Lens

HasViewport (WidgetEnv s e) Rect Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

widgetKeyMap :: Lens' s a Source #

Instances

Instances details
HasWidgetKeyMap (WidgetEnv s e) (WidgetKeyMap s e) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

widgetShared :: Lens' s a Source #

Instances

Instances details
HasWidgetShared (WidgetEnv s e) (MVar (Map Text WidgetShared)) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

windowSize :: Lens' s a Source #

Instances

Instances details
HasWindowSize (WidgetEnv s e) Size Source # 
Instance details

Defined in Monomer.Core.Lens

HasWindowSize (MonomerCtx s e) Size Source # 
Instance details

Defined in Monomer.Main.Lens

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

Methods

node :: Lens' s a Source #

Instances

Instances details
HasNode (WidgetResult s e) (WidgetNode s e) Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

node :: Lens' (WidgetResult s e) (WidgetNode s e) Source #

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

Methods

requests :: Lens' s a Source #

Instances

Instances details
HasRequests (WidgetResult s e) (Seq (WidgetRequest s e)) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

path :: Lens' s a Source #

Instances

Instances details
HasPath WidgetId Path Source # 
Instance details

Defined in Monomer.Core.Lens

HasPath WidgetNodeInfo Path Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

ts :: Lens' s a Source #

Instances

Instances details
HasTs WidgetId Millisecond Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

children :: Lens' s a Source #

Instances

Instances details
HasChildren WidgetInstanceNode (Seq WidgetInstanceNode) Source # 
Instance details

Defined in Monomer.Core.Lens

HasChildren (WidgetNode s e) (Seq (WidgetNode s e)) Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

children :: Lens' (WidgetNode s e) (Seq (WidgetNode s e)) Source #

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

Methods

info :: Lens' s a Source #

Instances

Instances details
HasInfo WidgetInstanceNode WidgetNodeInfo Source # 
Instance details

Defined in Monomer.Core.Lens

HasInfo (WidgetNode s e) WidgetNodeInfo Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

widget :: Lens' s a Source #

Instances

Instances details
HasWidget (WidgetNode s e) (Widget s e) Source # 
Instance details

Defined in Monomer.Core.Lens

Methods

widget :: Lens' (WidgetNode s e) (Widget s e) Source #

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

Methods

enabled :: Lens' s a Source #

Instances

Instances details
HasEnabled WidgetNodeInfo Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

focusable :: Lens' s a Source #

Instances

Instances details
HasFocusable WidgetNodeInfo Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

key :: Lens' s a Source #

Instances

Instances details
HasKey WidgetNodeInfo (Maybe WidgetKey) Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

style :: Lens' s a Source #

Instances

Instances details
HasStyle WidgetNodeInfo Style Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

visible :: Lens' s a Source #

Instances

Instances details
HasVisible WidgetNodeInfo Bool Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

widgetId :: Lens' s a Source #

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

Methods

widgetType :: Lens' s a Source #

Instances

Instances details
HasWidgetType WidgetNodeInfo WidgetType Source # 
Instance details

Defined in Monomer.Core.Lens

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

Methods

state :: Lens' s a Source #

Instances

Instances details
HasState WidgetInstanceNode (Maybe WidgetState) Source # 
Instance details

Defined in Monomer.Core.Lens