bridge

package
v2.0.0-alpha.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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
}

func NewBridge

func NewBridge(myLogger *logger.Logger) *Bridge

func (*Bridge) Run

func (b *Bridge) Run(dispatcher *messagedispatcher.Dispatcher, menumanager *menumanager.Manager, bindings string, debug bool) error

type BridgeClient

type BridgeClient struct {
	// contains filtered or unexported fields
}

func NewBridgeClient

func NewBridgeClient() *BridgeClient

func (BridgeClient) CallResult

func (b BridgeClient) CallResult(message string)

func (BridgeClient) DarkModeEnabled

func (b BridgeClient) DarkModeEnabled(callbackID string)

func (BridgeClient) MessageDialog

func (b BridgeClient) MessageDialog(dialogOptions *dialog.MessageDialog, callbackID string)

func (BridgeClient) NotifyEvent

func (b BridgeClient) NotifyEvent(message string)

func (BridgeClient) OpenDialog

func (b BridgeClient) OpenDialog(dialogOptions *dialog.OpenDialog, callbackID string)

func (BridgeClient) Quit

func (b BridgeClient) Quit()

func (BridgeClient) SaveDialog

func (b BridgeClient) SaveDialog(dialogOptions *dialog.SaveDialog, callbackID string)

func (BridgeClient) SetApplicationMenu

func (b BridgeClient) SetApplicationMenu(menuJSON string)

func (BridgeClient) SetTrayMenu

func (b BridgeClient) SetTrayMenu(trayMenuJSON string)

func (BridgeClient) UpdateContextMenu

func (b BridgeClient) UpdateContextMenu(contextMenuJSON string)

func (BridgeClient) UpdateTrayMenuLabel

func (b BridgeClient) UpdateTrayMenuLabel(trayMenuJSON string)

func (BridgeClient) WindowCenter

func (b BridgeClient) WindowCenter()

func (BridgeClient) WindowFullscreen

func (b BridgeClient) WindowFullscreen()

func (BridgeClient) WindowHide

func (b BridgeClient) WindowHide()

func (BridgeClient) WindowMaximise

func (b BridgeClient) WindowMaximise()

func (BridgeClient) WindowMinimise

func (b BridgeClient) WindowMinimise()

func (BridgeClient) WindowPosition

func (b BridgeClient) WindowPosition(x int, y int)

func (BridgeClient) WindowSetColour

func (b BridgeClient) WindowSetColour(colour int)

func (BridgeClient) WindowSetMaxSize

func (b BridgeClient) WindowSetMaxSize(width int, height int)

func (BridgeClient) WindowSetMinSize

func (b BridgeClient) WindowSetMinSize(width int, height int)

func (BridgeClient) WindowSetTitle

func (b BridgeClient) WindowSetTitle(title string)

func (BridgeClient) WindowShow

func (b BridgeClient) WindowShow()

func (BridgeClient) WindowSize

func (b BridgeClient) WindowSize(width int, height int)

func (BridgeClient) WindowUnFullscreen

func (b BridgeClient) WindowUnFullscreen()

func (BridgeClient) WindowUnmaximise

func (b BridgeClient) WindowUnmaximise()

func (BridgeClient) WindowUnminimise

func (b BridgeClient) WindowUnminimise()

type DialogClient

type DialogClient struct {
	// contains filtered or unexported fields
}

func NewDialogClient

func NewDialogClient(log *logger.Logger) *DialogClient

func (*DialogClient) CallResult

func (d *DialogClient) CallResult(message string)

func (*DialogClient) DarkModeEnabled

func (d *DialogClient) DarkModeEnabled(callbackID string)

func (*DialogClient) MessageDialog

func (d *DialogClient) MessageDialog(dialogOptions *dialog.MessageDialog, callbackID string)

func (*DialogClient) NotifyEvent

func (d *DialogClient) NotifyEvent(message string)

func (*DialogClient) OpenDialog

func (d *DialogClient) OpenDialog(dialogOptions *dialog.OpenDialog, callbackID string)

func (*DialogClient) Quit

func (d *DialogClient) Quit()

func (*DialogClient) SaveDialog

func (d *DialogClient) SaveDialog(dialogOptions *dialog.SaveDialog, callbackID string)

func (*DialogClient) SetApplicationMenu

func (d *DialogClient) SetApplicationMenu(menuJSON string)

func (*DialogClient) SetTrayMenu

func (d *DialogClient) SetTrayMenu(trayMenuJSON string)

func (*DialogClient) UpdateContextMenu

func (d *DialogClient) UpdateContextMenu(contextMenuJSON string)

func (*DialogClient) UpdateTrayMenuLabel

func (d *DialogClient) UpdateTrayMenuLabel(trayMenuJSON string)

func (*DialogClient) WindowCenter

func (d *DialogClient) WindowCenter()

func (*DialogClient) WindowFullscreen

func (d *DialogClient) WindowFullscreen()

func (*DialogClient) WindowHide

func (d *DialogClient) WindowHide()

func (*DialogClient) WindowMaximise

func (d *DialogClient) WindowMaximise()

func (*DialogClient) WindowMinimise

func (d *DialogClient) WindowMinimise()

func (*DialogClient) WindowPosition

func (d *DialogClient) WindowPosition(x int, y int)

func (*DialogClient) WindowSetColour

func (d *DialogClient) WindowSetColour(colour int)

func (*DialogClient) WindowSetMaxSize

func (d *DialogClient) WindowSetMaxSize(width int, height int)

func (*DialogClient) WindowSetMinSize

func (d *DialogClient) WindowSetMinSize(width int, height int)

func (*DialogClient) WindowSetTitle

func (d *DialogClient) WindowSetTitle(title string)

func (*DialogClient) WindowShow

func (d *DialogClient) WindowShow()

func (*DialogClient) WindowSize

func (d *DialogClient) WindowSize(width int, height int)

func (*DialogClient) WindowUnFullscreen

func (d *DialogClient) WindowUnFullscreen()

func (*DialogClient) WindowUnmaximise

func (d *DialogClient) WindowUnmaximise()

func (*DialogClient) WindowUnminimise

func (d *DialogClient) WindowUnminimise()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL