Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class WidgetClass w Source #
Instances
Instances
WidgetClass Widget Source # | |
Defined in Simple.UI.Widgets.Widget castToWidget :: Widget -> Widget Source # overrideWidget :: Widget -> State VirtualWidget () -> Widget Source # keyPressed :: Widget -> ListenerList (Key -> [Modifier] -> UIApp' ()) Source # draw :: Widget -> ListenerList (Drawing -> Int -> Int -> UIApp' ()) Source # colorForeground :: Widget -> Attribute Color Source # colorBackground :: Widget -> Attribute Color Source # colorStyle :: Widget -> Attribute DrawStyle Source # colorForegroundSelected :: Widget -> Attribute Color Source # colorBackgroundSelected :: Widget -> Attribute Color Source # colorStyleSelected :: Widget -> Attribute DrawStyle Source # enabled :: Widget -> Attribute Bool Source # visible :: Widget -> 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 #