You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type and parameter IconKind allows to specify usage of icon (if supported).
// IconKind is used to specify usage of icon.typeIconKindintconst (
IconKindDefault=IconKind(iota)
IconKindSmaller
)
typeWebViewinterface {
// SetIcon updates the icon of the native window. Must be called from the UI// thread.SetIcon(icon image.Image, kindIconKind)
// ...
}
Add new method
SetIconto set window icon image.Type and parameter
IconKindallows to specify usage of icon (if supported).Pull request: #47