Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
Browser represents a native web view. Since it is a native component, it does not respect the panel hierarchy and effectively draws on top of all other panels.
func New ¶
New creates a new, empty browser. Note that this panel behaves differently than other panels because it is backed by a native widget. In particular, you must pass in a valid Window at construction time and you must manually dispose of the browser when no longer needed. Not all platforms currently provide browser support. Those that don't will return an error.
func (*Browser) DefaultFrameChange ¶
func (b *Browser) DefaultFrameChange()
DefaultFrameChange adjusts the native component rect to match the panel.
func (*Browser) Dispose ¶
func (b *Browser) Dispose()
Dispose of the browser, releasing any system resources associated with it.