hbro-0.8.0.0: A minimal KISS compliant browser

Safe HaskellSafe-Infered

Hbro.Gui

Synopsis

Documentation

showWebInspector :: WebView -> IO ()Source

Show web inspector for current webpage.

prompt :: String -> String -> (String -> IO ()) -> GUI -> IO ()Source

Open prompt bar with given description and default value, and register a callback to trigger at validation.

promptIncremental :: String -> String -> (String -> IO ()) -> GUI -> IO ()Source

Same as prompt, but callback is triggered for each change in prompt's entry.

toggleVisibility :: WidgetClass a => a -> IO ()Source

Toggle a widget's visibility (provided for convenience).