Documentation ¶
Index ¶
- type Activater
- type C
- type D
- type Deactivater
- type Labeler
- type Layouter
- type Tab
- type TabEvent
- type TabEventType
- type Tabbar
- func (tb *Tabbar) Activate(key interface{})
- func (tb *Tabbar) ActiveIndex() int
- func (tb *Tabbar) Append(t *Tab)
- func (tb *Tabbar) Close(index int)
- func (tb *Tabbar) Events(gtx layout.Context) []TabEvent
- func (tb *Tabbar) IndexOf(key interface{}) int
- func (tb *Tabbar) Insert(index int, t *Tab)
- func (tb *Tabbar) InsertAfter(after, new *Tab)
- func (tb *Tabbar) Next()
- func (tb *Tabbar) Prev()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type Deactivater ¶
type Deactivater interface {
Deactivate()
}
type Tab ¶
type TabEvent ¶
type TabEvent struct { Type TabEventType Tab Layouter }
type TabEventType ¶
type TabEventType int
const ( TabEventClose TabEventType = iota TabEventActivate )
type Tabbar ¶
func (*Tabbar) ActiveIndex ¶
func (*Tabbar) InsertAfter ¶
Click to show internal directories.
Click to hide internal directories.