hbro-contrib-1.3.0.0: Third-party extensions to hbro.

Safe HaskellNone
LanguageHaskell98

Hbro.StatusBar

Synopsis

Documentation

installScrollWidget :: (ControlIO m, MonadResource m, MonadReader r m, Has MainView r) => Label -> m ()

Write current scroll position in the given Label.

installZoomWidget :: (ControlIO m, MonadResource m, MonadReader r m, Has MainView r) => Label -> m ()

/!\ Doesn't work for now. Write current zoom level in the given Label.

installKeyStrokesWidget :: (ControlIO m, MonadResource m, MonadReader r m, Has (Signal KeyMapPressed) r) => Label -> m ()

Write current keystrokes state in the given Label

installProgressWidget :: (ControlIO m, MonadLogger m, MonadResource m, MonadReader r m, Has MainView r) => Label -> m ()

Write current load progress in the given Label.

installURIWidget :: (ControlIO m, MonadResource m, MonadReader r m, Has MainView r, MonadLogger m) => URIColors -> URIColors -> Label -> m ()

Write current URI, or the destination of a hovered link, in the given Label.

labelSetURI :: MonadIO m => URIColors -> URIColors -> Label -> URI -> m ()

data URIColors

Constructors

URIColors 

Fields

mScheme :: Color
 
mHost :: Color
 
mPort :: Color
 
mUser :: Color
 
mPath :: Color
 
mQuery :: Color
 
mFragment :: Color