extra

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tab

type Tab struct {
	Label   string
	RuneLen int
	Blocks  []Bufferer
}

func NewTab

func NewTab(label string) *Tab

func (*Tab) AddBlocks

func (tab *Tab) AddBlocks(rs ...Bufferer)

func (*Tab) Buffer

func (tab *Tab) Buffer() Buffer

type Tabpane

type Tabpane struct {
	Block
	Tabs []Tab

	ActiveTabBg Attribute
	// contains filtered or unexported fields
}

func NewTabpane

func NewTabpane() *Tabpane

func (*Tabpane) Buffer

func (tp *Tabpane) Buffer() Buffer

func (*Tabpane) SetActiveLeft

func (tp *Tabpane) SetActiveLeft()

func (*Tabpane) SetActiveRight

func (tp *Tabpane) SetActiveRight()

func (*Tabpane) SetTabs

func (tp *Tabpane) SetTabs(tabs ...Tab)

Jump to

Keyboard shortcuts

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