Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class WidgetClass w where Source #
castToWidget :: w -> Widget Source #
overrideWidget :: w -> State VirtualWidget () -> w Source #
keyPressed :: w -> ListenerList (Key -> [Modifier] -> UIApp' ()) Source #
draw :: w -> ListenerList (Drawing -> Int -> Int -> UIApp' ()) Source #
colorForeground :: w -> Attribute Color Source #
colorBackground :: w -> Attribute Color Source #
colorStyle :: w -> Attribute DrawStyle Source #
colorForegroundSelected :: w -> Attribute Color Source #
colorBackgroundSelected :: w -> Attribute Color Source #
colorStyleSelected :: w -> Attribute DrawStyle Source #
enabled :: w -> Attribute Bool Source #
castToWidget :: WidgetClass w => w -> Widget Source #
overrideWidget :: WidgetClass w => w -> State VirtualWidget () -> w Source #
overrideWidgetHelper :: WidgetClass p => Lens' w p -> w -> State VirtualWidget () -> w Source #
overrideHelper :: WidgetClass p => (p -> State s () -> p) -> Lens' w p -> w -> State s () -> w Source #
connectColorsTo :: (WidgetClass w, WidgetClass v) => w -> v -> UIApp u () Source #
keyPressed :: WidgetClass w => w -> ListenerList (Key -> [Modifier] -> UIApp' ()) Source #
draw :: WidgetClass w => w -> ListenerList (Drawing -> Int -> Int -> UIApp' ()) Source #
colorForeground :: WidgetClass w => w -> Attribute Color Source #
colorBackground :: WidgetClass w => w -> Attribute Color Source #
colorStyle :: WidgetClass w => w -> Attribute DrawStyle Source #
colorForegroundSelected :: WidgetClass w => w -> Attribute Color Source #
colorBackgroundSelected :: WidgetClass w => w -> Attribute Color Source #
colorStyleSelected :: WidgetClass w => w -> Attribute DrawStyle Source #
name :: WidgetClass w => w -> String Source #
computeSize :: WidgetClass w => w -> UIApp u (Int, Int) Source #
setColors :: WidgetClass w => w -> (Color, Color, DrawStyle, Color, Color, DrawStyle) -> UIApp u () Source #
getColors :: WidgetClass w => w -> UIApp u (Color, Color, DrawStyle, Color, Color, DrawStyle) Source #
virtualWidgetName :: Lens' VirtualWidget String Source #