Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CHANGELOG.md Adds how-do-i-inline-an-html-page-on-start-up to examples. Aug 4, 2019
LICENSE Adds initial project files. Jul 31, 2018
README.md Adds how-do-i-inline-an-html-page-on-start-up to examples. Aug 4, 2019
how-do-i-communicate-with-haskell-from-javascript.hs Updates to version 0.1.0.0. Jun 16, 2019
how-do-i-create-a-window-and-have-it-run-itself.hs Adds initial project files. Jul 31, 2018
how-do-i-create-a-window.hs Adds initial project files. Jul 31, 2018
how-do-i-exit-the-window.hs
how-do-i-inject-some-custom-css-into-the-window.hs Updates to version 0.1.0.0. Jun 16, 2019
how-do-i-inline-an-html-page-on-start-up.hs Adds how-do-i-inline-an-html-page-on-start-up to examples. Aug 4, 2019
how-do-i-log-some-debug-information.hs
how-do-i-open-a-save-dialog.hs Adds initial project files. Jul 31, 2018
how-do-i-open-an-alert-dialog.hs Adds initial project files. Jul 31, 2018
how-do-i-open-an-open-dialog.hs Adds initial project files. Jul 31, 2018
how-do-i-run-my-own-function-in-the-window-loop.hs Updates to version 0.1.0.0. Jun 16, 2019
how-do-i-run-some-function-in-the-main-window-thread-while-in-some-other-thread.hs Updates to version 0.1.0.0. Jun 16, 2019
how-do-i-run-some-javascript-inside-the-window.hs Updates to version 0.1.0.0. Jun 16, 2019
how-do-i-set-the-window-title.hs Adds initial project files. Jul 31, 2018
how-do-i-set-the-windows-color.hs Adds initial project files. Jul 31, 2018
how-do-i-terminate-the-window-loop.hs Adds initial project files. Jul 31, 2018
how-do-i-toggle-the-windows-fullscreen-state.hs Adds initial project files. Jul 31, 2018
stack.yaml Adds initial project files. Jul 31, 2018
webviewhs-examples.cabal Adds how-do-i-inline-an-html-page-on-start-up to examples. Aug 4, 2019

README.md

webviewhs logo

How do I use webviewhs?

How do I build and run these examples?

If you're using stack:

stack build && \
stack exec -- how-do-i-create-a-window-and-have-it-run-itself && \
stack exec -- how-do-i-create-a-window && \
stack exec -- how-do-i-set-the-window-title && \
stack exec -- how-do-i-toggle-the-windows-fullscreen-state && \
stack exec -- how-do-i-set-the-windows-color && \
stack exec -- how-do-i-terminate-the-window-loop && \
stack exec -- how-do-i-exit-the-window && \
stack exec -- how-do-i-run-my-own-function-in-the-window-loop && \
stack exec -- how-do-i-run-some-function-in-the-main-window-thread-while-in-some-other-thread && \
stack exec -- how-do-i-open-an-alert-dialog && \
stack exec -- how-do-i-open-an-open-dialog && \
stack exec -- how-do-i-open-a-save-dialog && \
stack exec -- how-do-i-run-some-javascript-inside-the-window && \
stack exec -- how-do-i-communicate-with-haskell-from-javascript && \
stack exec -- how-do-i-inline-an-html-page-on-start-up && \
stack exec -- how-do-i-inject-some-custom-css-into-the-window && \
stack exec -- how-do-i-log-some-debug-information

If you're using cabal:

cabal sandbox init && \
cabal sandbox add-source ../ && \
cabal --require-sandbox install -j && \
cabal --require-sandbox exec -- how-do-i-create-a-window-and-have-it-run-itself && \
cabal --require-sandbox exec -- how-do-i-create-a-window && \
cabal --require-sandbox exec -- how-do-i-set-the-window-title && \
cabal --require-sandbox exec -- how-do-i-toggle-the-windows-fullscreen-state && \
cabal --require-sandbox exec -- how-do-i-set-the-windows-color && \
cabal --require-sandbox exec -- how-do-i-terminate-the-window-loop && \
cabal --require-sandbox exec -- how-do-i-exit-the-window && \
cabal --require-sandbox exec -- how-do-i-run-my-own-function-in-the-window-loop && \
cabal --require-sandbox exec -- how-do-i-run-some-function-in-the-main-window-thread-while-in-some-other-thread && \
cabal --require-sandbox exec -- how-do-i-open-an-alert-dialog && \
cabal --require-sandbox exec -- how-do-i-open-an-open-dialog && \
cabal --require-sandbox exec -- how-do-i-open-a-save-dialog && \
cabal --require-sandbox exec -- how-do-i-run-some-javascript-inside-the-window && \
cabal --require-sandbox exec -- how-do-i-communicate-with-haskell-from-javascript && \
cabal --require-sandbox exec -- how-do-i-inline-an-html-page-on-start-up && \
cabal --require-sandbox exec -- how-do-i-inject-some-custom-css-into-the-window && \
cabal --require-sandbox exec -- how-do-i-log-some-debug-information

Who wrote webviewhs?

(C) 2018 David Lettier
lettier.com

Who wrote webview?

Copyright (c) 2017 Serge Zaitsev

You can’t perform that action at this time.