Documentation
¶
Index ¶
- func Run(f string)
- type Client
- type Feed
- type Item
- type Panel
- type Route
- type State
- type StyleList
- func (self *StyleList) Draw(buf *Buffer)
- func (self *StyleList) ScrollAmount(amount int)
- func (self *StyleList) ScrollBottom()
- func (self *StyleList) ScrollDown()
- func (self *StyleList) ScrollHalfPageDown()
- func (self *StyleList) ScrollHalfPageUp()
- func (self *StyleList) ScrollPageDown()
- func (self *StyleList) ScrollPageUp()
- func (self *StyleList) ScrollTop()
- func (self *StyleList) ScrollUp()
- type Textbox
- type Tui
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type StyleList ¶
type StyleList struct {
Block
Rows []string
WrapText bool
TextStyle []Style
SelectedRow int
SelectedRowStyle Style
// contains filtered or unexported fields
}
func NewStyleList ¶
func NewStyleList() *StyleList
func (*StyleList) ScrollAmount ¶
ScrollAmount scrolls by amount given. If amount is < 0, then scroll up. There is no need to set self.topRow, as this will be set automatically when drawn, since if the selected item is off screen then the topRow variable will change accordingly.
func (*StyleList) ScrollBottom ¶
func (self *StyleList) ScrollBottom()
func (*StyleList) ScrollDown ¶
func (self *StyleList) ScrollDown()
func (*StyleList) ScrollHalfPageDown ¶
func (self *StyleList) ScrollHalfPageDown()
func (*StyleList) ScrollHalfPageUp ¶
func (self *StyleList) ScrollHalfPageUp()
func (*StyleList) ScrollPageDown ¶
func (self *StyleList) ScrollPageDown()
func (*StyleList) ScrollPageUp ¶
func (self *StyleList) ScrollPageUp()
Click to show internal directories.
Click to hide internal directories.