Skip to content

WebKit in Kas? #402

Answered by dhardy
NovaAndrom3da asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Interesting question. Not one I've put much thought into yet, to be honest.

WebKit has ports for WPE (embedded) and GTK. Most existing Rust crates appear to use WebKitGTK.

My best idea for a quick solution would be use a child window (see WindowBuilder::with_parent_window) and run the browser in a different window. This is only supporting on X11 and Windows so far. Alternatively just to use a toolkit with better support for browsers (e.g. Tauri).

A more ambitious option could be to port Kas to Tao (replacing some Winit code and most of the drawing routines), which should make compatibility with WebKitGTK more feasible. I may do some related work in the future (looking at using Piet, w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NovaAndrom3da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants