Documentation ¶
Index ¶
- Variables
- func NewBridge() *bridge.Bridge
- type WebView
- func (w *WebView) Close()
- func (w *WebView) Exit()
- func (w *WebView) Fullscreen()
- func (w *WebView) Initialise(config interfaces.AppConfig, ipc interfaces.IPCManager, ...) error
- func (w *WebView) NewBinding(methodName string) error
- func (w *WebView) NotifyEvent(event *messages.EventData) error
- func (w *WebView) Run() error
- func (w *WebView) SelectDirectory() string
- func (w *WebView) SelectFile(title string, filter string) string
- func (w *WebView) SelectSaveFile(title string, filter string) string
- func (w *WebView) SetColour(colour string) error
- func (w *WebView) SetMaxSize(width, height int)
- func (w *WebView) SetMinSize(width, height int)
- func (w *WebView) SetTitle(title string)
- func (w *WebView) UnFullscreen()
Constants ¶
This section is empty.
Variables ¶
View Source
var UseFirebug = ""
UseFirebug indicates whether to inject the firebug console
Functions ¶
Types ¶
type WebView ¶
type WebView struct {
// contains filtered or unexported fields
}
func (*WebView) Fullscreen ¶
func (w *WebView) Fullscreen()
Fullscreen makes the main window go fullscreen
func (*WebView) Initialise ¶
func (w *WebView) Initialise(config interfaces.AppConfig, ipc interfaces.IPCManager, eventManager interfaces.EventManager) error
Initialise sets up the WebView
func (*WebView) NewBinding ¶
NewBinding registers a new binding with the frontend
func (*WebView) NotifyEvent ¶
NotifyEvent notifies the frontend about a backend runtime event
func (*WebView) SelectDirectory ¶
SelectDirectory opens a dialog that allows the user to select a directory
func (*WebView) SelectFile ¶
SelectFile opens a dialog that allows the user to select a file
func (*WebView) SelectSaveFile ¶
SelectSaveFile opens a dialog that allows the user to select a file to save
func (*WebView) SetMaxSize ¶
SetMaxSize sets the maximum size of a resizable window
func (*WebView) SetMinSize ¶
SetMinSize sets the minimum size of a resizable window
func (*WebView) UnFullscreen ¶
func (w *WebView) UnFullscreen()
UnFullscreen returns the window to the position prior to a fullscreen call
Click to show internal directories.
Click to hide internal directories.