hbro-0.5.0: A suckless minimal KISSy browser

Safe HaskellNone

Hbro.Gui

Synopsis

Documentation

data GUI Source

Constructors

GUI 

Fields

mWindow :: Window

Main window

mInspectorWindow :: Window

WebInspector window

mScrollWindow :: ScrolledWindow

ScrolledWindow containing the webview

mWebView :: WebView

Browser's webview

mPromptLabel :: Label

Description of current prompt

mPrompt :: Entry

Prompt entry

mBuilder :: Builder

Builder object created from XML file

showPrompt :: Bool -> GUI -> IO ()Source

Show or hide the prompt bar (label + entry).

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

Show the prompt bar label and default text. As the user validates its entry, the given callback is executed.