Documentation ¶
Index ¶
- Constants
- type Logger
- type QuoteView
- func (w *QuoteView) AddRow(sym string)
- func (w *QuoteView) FirstRow() (*gtk.TreeIter, bool)
- func (w *QuoteView) NextRow(it *gtk.TreeIter) bool
- func (w *QuoteView) RowColor(it *gtk.TreeIter) string
- func (w *QuoteView) RowId(it *gtk.TreeIter) int
- func (w *QuoteView) SetRowColor(it *gtk.TreeIter, cc string)
- func (w *QuoteView) UpdateRow(iter *gtk.TreeIter, v []interface{}) error
- func (w *QuoteView) Win() *gtk.TreeView
Constants ¶
View Source
const ( ColorUp = "red" ColorDown = "yellow" ColorEq = "black" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewGtkLogger ¶
func (*Logger) Win ¶
func (w *Logger) Win() *gtk.ScrolledWindow
type QuoteView ¶
type QuoteView struct {
// contains filtered or unexported fields
}
QuoteView Quotes display view
column 0 quote idx column 1 color column 2... column of quotes
func NewQuoteView ¶
Creates a tree view and the list store that holds its data
colTitle column title column 0 MUST be symbol
func (*QuoteView) SetRowColor ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.