hbro-0.8.0.0: A minimal KISS compliant browser

Safe HaskellSafe-Infered

Hbro.Util

Contents

Synopsis

Process management

spawn :: String -> [String] -> IO ()Source

Run external command and won't kill when parent process exit.

getAllProcessIDs :: IO [FilePath]Source

Return the list of process IDs corresponding to all running instances of the browser.

WebKit functions redefinition

webFrameGetUri :: WebFrame -> IO (Maybe URI)Source

Replacement for Graphics.UI.Gtk.WebKit.WebFrame(webFrameGetUri), using the Network.URI type.

webViewGetUri :: WebView -> IO (Maybe URI)Source

Replacement for Graphics.UI.Gtk.WebKit.WebView(webViewGetUri), using the Network.URI type.

webViewLoadUri :: WebView -> URI -> IO ()Source

Replacement for Graphics.UI.Gtk.WebKit.WebView(webViewLoadUri), using the Network.URI type.

Misc

labelSetMarkupTemporary :: Label -> String -> Int -> IO ()Source

Set a temporary markup text to a label that disappears after some delay.

dmenuSource

Arguments

:: [String]

dmenu's commandline options

-> String

dmenu's input

-> IO (Maybe String)

Selected entry

Open dmenu with given input and return selected entry.