hbro-0.4.4: 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

mWindowBox :: VBox

Window's layout

mStatusBox :: HBox

Status bar's layout

mProgressLabel :: Label
 
mUrlLabel :: Label
 
mScrollLabel :: Label
 

loadGUI :: String -> IO GUISource

Load GUI from a glade 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.