components

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionOptionsSelector

type ConnectionOptionsSelector struct {
	Container                 *fyne.Container
	InputVpnProtocol          *widget.Select
	InputTransmissionProtocol *widget.Select
}

func NewConnectionOptions

func NewConnectionOptions() *ConnectionOptionsSelector

func (*ConnectionOptionsSelector) GetTransmissionOption

func (co *ConnectionOptionsSelector) GetTransmissionOption() commander.TransmissionProtocol

func (*ConnectionOptionsSelector) GetVpnOption

func (co *ConnectionOptionsSelector) GetVpnOption() commander.VpnProtocol

type ConnectionStatus

type ConnectionStatus struct {
	Container *fyne.Container
	Button    *widget.Button
	Label     *widget.Label
}

func NewConnectionStatus

func NewConnectionStatus(disconnect func()) *ConnectionStatus

func (*ConnectionStatus) SetConnected

func (cs *ConnectionStatus) SetConnected(c *models.Country, server string)

type ErrorDialog

type ErrorDialog struct {
	Dialog     *dialog.CustomDialog
	DialogText *widget.Label
}

func NewErrorDialog

func NewErrorDialog(app *fyne.App, window *fyne.Window) *ErrorDialog

func (*ErrorDialog) Show

func (d *ErrorDialog) Show(err error)

type InputSearch

type InputSearch struct {
	Container *fyne.Container
	Input     *widget.Entry
}

func NewInputSearch

func NewInputSearch() *InputSearch

func (*InputSearch) GetInputText

func (is *InputSearch) GetInputText() string

func (*InputSearch) SetOnChanged

func (is *InputSearch) SetOnChanged(onChanged func(string))

Jump to

Keyboard shortcuts

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