Skip to content

Files

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 4, 2019
Jul 31, 2018
Aug 4, 2019
Jun 16, 2019
Jul 31, 2018
Jul 31, 2018
Jul 31, 2018
Jun 16, 2019
Aug 4, 2019
Jun 16, 2019
Jul 31, 2018
Jul 31, 2018
Jul 31, 2018
Jun 16, 2019
Jun 16, 2019
Jun 16, 2019
Jul 31, 2018
Jul 31, 2018
Jul 31, 2018
Jul 31, 2018
Jul 31, 2018
Aug 4, 2019

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