ui

package
v0.0.0-...-1ce0ccd Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RaiseUI

func RaiseUI() bool

func RunUI

func RunUI()

func WaitForRaiseUIThenQuit

func WaitForRaiseUIThenQuit()

Types

type ConfView

type ConfView struct {
	*walk.ScrollView
	// contains filtered or unexported fields
}

func NewConfView

func NewConfView(parent walk.Container) (*ConfView, error)

func (*ConfView) Dispose

func (cv *ConfView) Dispose()

func (*ConfView) SetTunnel

func (cv *ConfView) SetTunnel(tunnel *manager.Tunnel)

type EditDialog

type EditDialog struct {
	*walk.Dialog
	// contains filtered or unexported fields
}

type ListModel

type ListModel struct {
	walk.TableModelBase
	walk.SorterBase
	// contains filtered or unexported fields
}

ListModel is a struct to store the currently known tunnels to the GUI, suitable as a model for a walk.TableView.

func (*ListModel) RowCount

func (t *ListModel) RowCount() int

func (*ListModel) Sort

func (t *ListModel) Sort(col int, order walk.SortOrder) error

func (*ListModel) Value

func (t *ListModel) Value(row, col int) interface{}

type ListView

type ListView struct {
	*walk.TableView
	// contains filtered or unexported fields
}

func NewListView

func NewListView(parent walk.Container) (*ListView, error)

func (*ListView) CurrentTunnel

func (tv *ListView) CurrentTunnel() *manager.Tunnel

func (*ListView) Dispose

func (tv *ListView) Dispose()

func (*ListView) Load

func (tv *ListView) Load(asyncUI bool)

func (*ListView) SelectFirstActiveTunnel

func (tv *ListView) SelectFirstActiveTunnel()

func (*ListView) SetSuspendTunnelsUpdate

func (tv *ListView) SetSuspendTunnelsUpdate(suspend bool)

func (*ListView) StyleCell

func (tv *ListView) StyleCell(style *walk.CellStyle)

type LogPage

type LogPage struct {
	*walk.TabPage
	// contains filtered or unexported fields
}

func NewLogPage

func NewLogPage() (*LogPage, error)

type ManageTunnelsWindow

type ManageTunnelsWindow struct {
	walk.FormBase
	// contains filtered or unexported fields
}

func NewManageTunnelsWindow

func NewManageTunnelsWindow() (*ManageTunnelsWindow, error)

func (*ManageTunnelsWindow) Dispose

func (mtw *ManageTunnelsWindow) Dispose()

func (*ManageTunnelsWindow) UpdateFound

func (mtw *ManageTunnelsWindow) UpdateFound()

func (*ManageTunnelsWindow) WndProc

func (mtw *ManageTunnelsWindow) WndProc(hwnd win.HWND, msg uint32, wParam, lParam uintptr) uintptr

type Tray

type Tray struct {
	*walk.NotifyIcon
	// contains filtered or unexported fields
}

func NewTray

func NewTray(mtw *ManageTunnelsWindow) (*Tray, error)

func (*Tray) Dispose

func (tray *Tray) Dispose() error

func (*Tray) SetTunnelState

func (tray *Tray) SetTunnelState(tunnel *manager.Tunnel, state manager.TunnelState, showNotifications bool)

func (*Tray) UpdateFound

func (tray *Tray) UpdateFound()

type TunnelsPage

type TunnelsPage struct {
	*walk.TabPage
	// contains filtered or unexported fields
}

func NewTunnelsPage

func NewTunnelsPage() (*TunnelsPage, error)

func (*TunnelsPage) CreateToolbar

func (tp *TunnelsPage) CreateToolbar()

type UpdatePage

type UpdatePage struct {
	*walk.TabPage
}

func NewUpdatePage

func NewUpdatePage() (*UpdatePage, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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