Documentation ¶
Index ¶
- type Caller
- type Commander
- type HeightSetter
- type Location
- type Locationer
- type Name
- type Navigator
- func (n *Navigator) Add(pane Pane)
- func (n *Navigator) Buttons() gxui.LinearLayout
- func (n *Navigator) Elements() []interface{}
- func (n *Navigator) HideNavPane()
- func (n *Navigator) Resize(height int)
- func (n *Navigator) ShowNavPane(frame gxui.Control)
- func (n *Navigator) ToggleNavPane(frame gxui.Control)
- type Opener
- type Pane
- type ProjectChanger
- type ProjectTree
- func (p *ProjectTree) Button() gxui.Button
- func (p *ProjectTree) Frame() gxui.Control
- func (p *ProjectTree) Open(path string, pos token.Position)
- func (p *ProjectTree) SetProject(project setting.Project)
- func (p *ProjectTree) SetRoot(path string)
- func (p *ProjectTree) SetTOC(toc *TOC)
- func (p *ProjectTree) TOC() *TOC
- type Projects
- type TOC
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller interface {
Call(func()) bool
}
Caller is any type that can call a function on the UI goroutine
type HeightSetter ¶
type HeightSetter interface {
SetHeight(int)
}
HeightSetter is any type which needs its height set explicitly
type Locationer ¶
type Name ¶
type Name struct { Location // contains filtered or unexported fields }
func (*Name) MissingChild ¶
type Navigator ¶
type Navigator struct { // contains filtered or unexported fields }
Navigator is a type implementing the navigation pane of vidar.
func (*Navigator) Buttons ¶
func (n *Navigator) Buttons() gxui.LinearLayout
func (*Navigator) HideNavPane ¶
func (n *Navigator) HideNavPane()
func (*Navigator) ShowNavPane ¶
func (*Navigator) ToggleNavPane ¶
type Pane ¶
type Pane interface { // Button returns the button that is shown for displaying the // Pane's Frame. Button() gxui.Button // Frame returns the frame that is displayed when the Pane's // Button is clicked. Frame() gxui.Control }
Pane is a type that has a button and a window frame.
type ProjectTree ¶
type ProjectTree struct {
// contains filtered or unexported fields
}
func NewProjectTree ¶
func (*ProjectTree) Button ¶
func (p *ProjectTree) Button() gxui.Button
func (*ProjectTree) Frame ¶
func (p *ProjectTree) Frame() gxui.Control
func (*ProjectTree) SetProject ¶
func (p *ProjectTree) SetProject(project setting.Project)
func (*ProjectTree) SetRoot ¶
func (p *ProjectTree) SetRoot(path string)
func (*ProjectTree) SetTOC ¶
func (p *ProjectTree) SetTOC(toc *TOC)
func (*ProjectTree) TOC ¶
func (p *ProjectTree) TOC() *TOC
type Projects ¶
type Projects struct {
// contains filtered or unexported fields
}
func NewProjectsPane ¶
type TOC ¶
type TOC struct { mixins.LinearLayout // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.