Documentation ¶
Index ¶
- Variables
- func ActiveHostsDialog(ts *AllTerminal)
- func AddHostDialog(b *gtk.Builder, saveFunc func(string))
- func LoadHostsDialog(b *gtk.Builder, ts *AllTerminal)
- func New(hosts []*HostGroup, sshCmd string, sshArgs []string)
- func NewConfigDialog(b *gtk.Builder, c *ConfigStore, saveFunc func())
- func SaveHostsDialog(b *gtk.Builder, ts *AllTerminal)
- type AllTerminal
- func (t *AllTerminal) Activate(host string, active bool)
- func (t *AllTerminal) AddHost(group string, name string)
- func (t *AllTerminal) Each(f func(t *Terminal))
- func (t *AllTerminal) Event(ev *gdk.Event)
- func (t *AllTerminal) Layout() gtk.IWidget
- func (t *AllTerminal) Len() int
- func (t *AllTerminal) Names() []string
- func (t *AllTerminal) OrderAsc()
- func (t *AllTerminal) OrderDesc()
- func (t *AllTerminal) PasteClipboard()
- func (t *AllTerminal) Reflow(width int, force bool, c *Config)
- func (t *AllTerminal) RemoveClosedHost()
- func (t *AllTerminal) RemoveGroup(name string)
- type Config
- type ConfigStore
- type HostGroup
- type SSH
- type Terminal
- type Terminals
- func (t *Terminals) Activate(host string, active bool)
- func (t *Terminals) AddHost(host string)
- func (t *Terminals) Each(f func(t *Terminal))
- func (t *Terminals) Event(ev *gdk.Event)
- func (t *Terminals) Hide()
- func (t *Terminals) IsHidden() bool
- func (t *Terminals) Layout() *gtk.Grid
- func (t *Terminals) Len() int
- func (t *Terminals) Names() []string
- func (t *Terminals) OrderAsc()
- func (t *Terminals) OrderDesc()
- func (t *Terminals) PasteClipboard()
- func (t *Terminals) Reflow(width int, force bool, c *Config)
- func (t *Terminals) ReflowTable(rc *reflowConfig)
- func (t *Terminals) RemoveClosedHost()
- func (t *Terminals) Show()
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildTime string
BuildTime got from builder
View Source
var Version string
Version got from builder
Functions ¶
func ActiveHostsDialog ¶
func ActiveHostsDialog(ts *AllTerminal)
func AddHostDialog ¶ added in v1.1.0
func LoadHostsDialog ¶
func LoadHostsDialog(b *gtk.Builder, ts *AllTerminal)
func NewConfigDialog ¶
func NewConfigDialog(b *gtk.Builder, c *ConfigStore, saveFunc func())
func SaveHostsDialog ¶
func SaveHostsDialog(b *gtk.Builder, ts *AllTerminal)
Types ¶
type AllTerminal ¶
type AllTerminal struct {
// contains filtered or unexported fields
}
func NewAllTerminals ¶
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) RemoveClosedHost ¶
func (t *AllTerminal) RemoveClosedHost()
func (*AllTerminal) RemoveGroup ¶
func (t *AllTerminal) RemoveGroup(name string)
type ConfigStore ¶ added in v1.1.0
type ConfigStore struct {
// contains filtered or unexported fields
}
func NewConfig ¶ added in v1.1.0
func NewConfig() (*ConfigStore, error)
func (*ConfigStore) Config ¶ added in v1.1.0
func (c *ConfigStore) Config() *Config
func (*ConfigStore) ConfigWithError ¶ added in v1.1.0
func (c *ConfigStore) ConfigWithError() (*Config, error)
func (*ConfigStore) NewSnapshot ¶ added in v1.1.0
func (c *ConfigStore) NewSnapshot() interface{}
func (*ConfigStore) SetSnapshot ¶ added in v1.1.0
func (c *ConfigStore) SetSnapshot(i interface{}, err error)
type Terminals ¶
type Terminals struct { Name string Hosts []string Cols float64 Rows float64 // contains filtered or unexported fields }
func (*Terminals) PasteClipboard ¶
func (t *Terminals) PasteClipboard()
func (*Terminals) ReflowTable ¶
func (t *Terminals) ReflowTable(rc *reflowConfig)
func (*Terminals) RemoveClosedHost ¶
func (t *Terminals) RemoveClosedHost()
Click to show internal directories.
Click to hide internal directories.