webview-embed

command
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command webview-embed puts native WebViews inside a self-drawn layout (docs/specs/webview-embed.md): one fills the right side of the window, another sits in a scrolling list on the left and is clipped by it. The variables below are page state, owned by the window's UI thread; main-thread callbacks (OnMessage, Created, OnLoaded) change them through runner.Post. Open the menu, hover the tooltip button or open the dialog to see a covered WebView freeze into a snapshot under the layer; Tab moves focus from the toolbar into the page and back out after its last field.

go run ./examples/webview-embed
go run ./examples/webview-embed -smoke   # macOS: scripted checks + screenshots in build/webview-embed

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL