pmatos / racket-web-view

A Web View for Racket GUI Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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")

About

A Web View for Racket GUI Toolkit

License:Other


Languages

Language:Racket 98.3%Language:Shell 1.7%