Documentation
¶
Index ¶
- func SendCallback(id, result string)
- func SendMessage(message interface{}) bool
- func Terminate()
- type BoxWebviewOptions
- type DragDropHandler
- type Handler
- type Webview
- func (w *Webview) Close()
- func (w *Webview) Fullscreen()
- func (w *Webview) GetPosition() (int, int)
- func (w *Webview) GetSize() (int, int)
- func (w *Webview) Hide()
- func (w *Webview) Maximize()
- func (w *Webview) Minimize()
- func (w *Webview) Restore()
- func (w *Webview) SetAlwaysOnTop(onTop bool)
- func (w *Webview) SetMaxSize(width, height int)
- func (w *Webview) SetMinSize(width, height int)
- func (w *Webview) SetPosition(x, y int)
- func (w *Webview) SetSize(width, height int)
- func (w *Webview) SetTitle(title string)
- func (w *Webview) SetURL(url string)
- func (w *Webview) Show()
- func (w *Webview) UnFullscreen()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendCallback ¶
func SendCallback(id, result string)
func SendMessage ¶
func SendMessage(message interface{}) bool
Types ¶
type BoxWebviewOptions ¶
type DragDropHandler ¶
type Webview ¶
type Webview struct{}
func OpenWebview ¶
func OpenWebview(opts *BoxWebviewOptions) *Webview
func OpenWindow ¶
func OpenWindow(opts *BoxWebviewOptions) *Webview
func (*Webview) Fullscreen ¶
func (w *Webview) Fullscreen()
func (*Webview) GetPosition ¶
func (*Webview) SetAlwaysOnTop ¶
func (*Webview) SetMaxSize ¶
func (*Webview) SetMinSize ¶
func (*Webview) SetPosition ¶
func (*Webview) UnFullscreen ¶
func (w *Webview) UnFullscreen()
Click to show internal directories.
Click to hide internal directories.