https://github.com/soapdog/racket-web-view
A Web View for Racket GUI Toolkit
https://github.com/soapdog/racket-web-view
gui racket web-view
Last synced: 19 days ago
JSON representation
A Web View for Racket GUI Toolkit
- Host: GitHub
- URL: https://github.com/soapdog/racket-web-view
- Owner: soapdog
- License: other
- Created: 2019-09-17T19:56:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-23T23:31:36.000Z (over 5 years ago)
- Last Synced: 2024-04-15T03:28:51.305Z (about 1 year ago)
- Topics: gui, racket, web-view
- Language: Racket
- Size: 989 KB
- Stars: 19
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
web-view%
========
A Racket package to provide a `web-view%` control to applications based on Racket GUI Toolkit.
There is some minimal [documentation available](https://soapdog.github.io/racket-web-view/).
This repo is also available at [sourcehut](https://git.sr.ht/~soapdog/racket-web-view).
## 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")
```---