~soapdog/racket-web-view

A Racket GUI Widget to display a Web View

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~soapdog/racket-web-view
read/write
git@git.sr.ht:~soapdog/racket-web-view

You can also use your local clone with git send-email.

#web-view%

Screenshot: web-view% in action

A Racket package to provide a web-view% control to applications based on Racket GUI Toolkit.

There is some minimal documentation available.

This repo is also available at sourcehut.

#What works

You can create a web-view%, set its URL and the page loads. You can navigate as well.

#What doesn't work

Everything else.

Also, at the moment it is macOS only. It wraps around WKWebView.

#Demo

Install the package with the following command on the checkout folder for this repo:

$ raco pkg install

You can run a demo with by loading demo/demo.rkt.

#Sample code:

(define web-view
  (new web-view%
       [parent panel]))

(send web-view set-url "https://racket-lang.org")