hbro-0.4.2: A suckless minimal KISSy browser

Safe HaskellNone

Hbro.Core

Synopsis

Documentation

data Browser Source

Constructors

Browser 

Fields

mGUI :: GUI
 

data Configuration Source

Constructors

Configuration 

Fields

mHomePage :: String

Startup page

mSocketDir :: String

Path to socket directory (/tmp for example)

mKeyBindings :: [(([Modifier], String), GUI -> IO ())]

List of keybindings

mWebSettings :: IO WebSettings

Web settings

mCustomizations :: GUI -> IO ()

Custom callbacks

mError :: Maybe String

Error

realMain :: Configuration -> IO ()Source

Entry point of the application. Check if help display is requested.

initBrowser :: Configuration -> IO ()Source

Application's main function. Create browser and load homepage.

showWebInspector :: GUI -> IO ()Source

Show web inspector for current webpage.

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

Load given URL in the browser.

loadURL' :: URL -> GUI -> IO ()Source

Backend function for loadURL.