gui

package
v0.0.0-...-804f56e Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoLogin = errors.New("No login credentals provided.")
)
View Source
var (
	ErrNoPeer = errors.New("No peer specified.")
)

Functions

func LoginDialogRun

func LoginDialogRun(parent *gtk.Window) (user string, passwd string, err error)

func PeerDialogRun

func PeerDialogRun(parent *gtk.Window) (peer string, err error)

Types

type UI

type UI struct {
	Window   *gtk.Window
	Callback func(msg string)
	// contains filtered or unexported fields
}

func UINew

func UINew() (*UI, error)

func (*UI) ShowMessage

func (ui *UI) ShowMessage(message map[string]string)

Jump to

Keyboard shortcuts

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