Documentation ¶
Index ¶
- type Bridge
- func (h *Bridge) Close()
- func (h *Bridge) Fullscreen()
- func (h *Bridge) Initialise(appConfig interfaces.AppConfig, ipcManager interfaces.IPCManager, ...) error
- func (h *Bridge) NewBinding(methodName string) error
- func (h *Bridge) NotifyEvent(event *messages.EventData) error
- func (h *Bridge) Run() error
- func (h *Bridge) SelectDirectory() string
- func (h *Bridge) SelectFile(title string, filter string) string
- func (h *Bridge) SelectSaveFile(title string, filter string) string
- func (h *Bridge) SetColour(colour string) error
- func (h *Bridge) SetMaxSize(width, height int)
- func (h *Bridge) SetMinSize(width, height int)
- func (h *Bridge) SetTitle(title string)
- func (h *Bridge) UnFullscreen()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge is a backend that opens a local web server and renders the files over a websocket
func (*Bridge) Close ¶
func (h *Bridge) Close()
Close is unsupported for Bridge but required for the Renderer interface
func (*Bridge) Fullscreen ¶
func (h *Bridge) Fullscreen()
Fullscreen is unsupported for Bridge but required for the Renderer interface
func (*Bridge) Initialise ¶
func (h *Bridge) Initialise(appConfig interfaces.AppConfig, ipcManager interfaces.IPCManager, eventManager interfaces.EventManager) error
Initialise the Bridge Renderer
func (*Bridge) NewBinding ¶
NewBinding creates a new binding with the frontend
func (*Bridge) NotifyEvent ¶
NotifyEvent notifies the frontend of an event
func (*Bridge) SelectDirectory ¶
SelectDirectory is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SelectFile ¶
SelectFile is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SelectSaveFile ¶
SelectSaveFile is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SetColour ¶
SetColour is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SetMaxSize ¶ added in v1.13.0
SetMaxSize is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SetMinSize ¶ added in v1.13.0
SetMinSize is unsupported for Bridge but required for the Renderer interface
func (*Bridge) SetTitle ¶
SetTitle is currently unsupported for Bridge but required for the Renderer interface
func (*Bridge) UnFullscreen ¶
func (h *Bridge) UnFullscreen()
UnFullscreen is unsupported for Bridge but required for the Renderer interface