internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveHostsDialog

func ActiveHostsDialog(ts *AllTerminal)

func LoadHostsDialog

func LoadHostsDialog(ts *AllTerminal, w *gtk.Window)

func New

func New(hosts []*HostGroup, sshCmd string, sshArgs []string)

func NewConfigDialog

func NewConfigDialog(config Config, saveFunc func(Config))

func NewHostDialog

func NewHostDialog(saveFunc func(string))

func SaveHostsDialog

func SaveHostsDialog(ts *AllTerminal, w *gtk.Window)

Types

type AllTerminal

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

func NewAllTerminals

func NewAllTerminals(sshCmd string, sshArgs []string, group []*HostGroup, reflow func(t gtk.IWidget)) *AllTerminal

func (*AllTerminal) Activate

func (t *AllTerminal) Activate(host string, active bool)

func (*AllTerminal) AddHost

func (t *AllTerminal) AddHost(group string, name string)

func (*AllTerminal) Each

func (t *AllTerminal) Each(f func(t *Terminal))

func (*AllTerminal) Event

func (t *AllTerminal) Event(ev *gdk.Event)

func (*AllTerminal) Layout

func (t *AllTerminal) Layout() gtk.IWidget

func (*AllTerminal) Len

func (t *AllTerminal) Len() int

func (*AllTerminal) Names

func (t *AllTerminal) Names() []string

func (*AllTerminal) OrderAsc

func (t *AllTerminal) OrderAsc()

func (*AllTerminal) OrderDesc

func (t *AllTerminal) OrderDesc()

func (*AllTerminal) PasteClipboard

func (t *AllTerminal) PasteClipboard()

func (*AllTerminal) Reflow

func (t *AllTerminal) Reflow(width int, force bool, c Config)

func (*AllTerminal) RemoveClosedHost

func (t *AllTerminal) RemoveClosedHost()

func (*AllTerminal) RemoveGroup

func (t *AllTerminal) RemoveGroup(name string)

type Config

type Config struct {
	StartMaximized bool
	Font           string
	MinWidth       int
	MinHeight      int
}

type ConfigDialog

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

type HostGroup

type HostGroup struct {
	Name  string
	Hosts []string
	// contains filtered or unexported fields
}

type SSH

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

type Terminal

type Terminal struct {
	*gtk.Widget
	*vte.Terminal

	Host      string
	CopyInput bool
	// contains filtered or unexported fields
}

type Terminals

type Terminals struct {
	Name  string
	Hosts []string
	// contains filtered or unexported fields
}

func NewTerminals

func NewTerminals(sshCmd string, sshArgs []string, name string) *Terminals

func (*Terminals) Activate

func (t *Terminals) Activate(host string, active bool)

func (*Terminals) AddHost

func (t *Terminals) AddHost(host string)

func (*Terminals) Each

func (t *Terminals) Each(f func(t *Terminal))

func (*Terminals) Event

func (t *Terminals) Event(ev *gdk.Event)

func (*Terminals) Hide

func (t *Terminals) Hide()

func (*Terminals) IsHidden

func (t *Terminals) IsHidden() bool

func (*Terminals) Layout

func (t *Terminals) Layout() *gtk.Grid

func (*Terminals) Len

func (t *Terminals) Len() int

func (*Terminals) Names

func (t *Terminals) Names() []string

func (*Terminals) OrderAsc

func (t *Terminals) OrderAsc()

func (*Terminals) OrderDesc

func (t *Terminals) OrderDesc()

func (*Terminals) PasteClipboard

func (t *Terminals) PasteClipboard()

func (*Terminals) Reflow

func (t *Terminals) Reflow(width int, force bool, c Config)

func (*Terminals) ReflowTable

func (t *Terminals) ReflowTable(rc *reflowConfig)

func (*Terminals) RemoveClosedHost

func (t *Terminals) RemoveClosedHost()

func (*Terminals) Show

func (t *Terminals) Show()

Jump to

Keyboard shortcuts

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