-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Add new method SetIcon
to set window icon image.
Type and parameter IconKind
allows to specify usage of icon (if supported).
// IconKind is used to specify usage of icon.
type IconKind int
const (
IconKindDefault = IconKind(iota)
IconKindSmaller
)
type WebView interface {
// SetIcon updates the icon of the native window. Must be called from the UI
// thread.
SetIcon(icon image.Image, kind IconKind)
// ...
}
Pull request: #47
tsukinoko-kun
Metadata
Metadata
Assignees
Labels
No labels