Documentation ¶
Index ¶
- Variables
- type DRow
- type MyAlign
- type TBox
- type TData
- type THeader
- type TRow
- type Tablam
- func (t Tablam) ActiveRowData() []string
- func (t *Tablam) AddDataRow(row []string)
- func (t Tablam) ClearSelected()
- func (t *Tablam) CursorDown()
- func (t Tablam) CursorFontBold() bool
- func (t *Tablam) CursorUp()
- func (t Tablam) DataRows() int
- func (t *Tablam) DecFontSize()
- func (t *Tablam) FillWithData(d [][]string, aligns []MyAlign) error
- func (t Tablam) FontSize() int
- func (t Tablam) HeaderFontBold() bool
- func (t *Tablam) IncFontSize()
- func (t *Tablam) InsertARow(n int, row []string)
- func (t Tablam) NormalFontBold() bool
- func (t *Tablam) RemoveARow(r int)
- func (t *Tablam) RemoveCursor()
- func (t Tablam) ResetPosition()
- func (t Tablam) SelectARow()
- func (t Tablam) SelectCursorRow() int
- func (t Tablam) SelectFontBold() bool
- func (t *Tablam) SetCursorColors(fg, bg string)
- func (t Tablam) SetCursorFontBold(b bool)
- func (t *Tablam) SetFont(f string)
- func (t Tablam) SetHeaderFontBold(b bool)
- func (t *Tablam) SetNormalColors(fg, bg string)
- func (t Tablam) SetNormalFontBold(b bool)
- func (t Tablam) SetSelectFontBold(b bool)
- func (t *Tablam) ShowOrHideColumn(c int)
- func (t *Tablam) SortData(n int)
- func (t Tablam) TotalRows() int
- func (t *Tablam) UpdateCell(r, c int, title string) error
- func (t *Tablam) UpdateCursor(withSel bool)
- func (t *Tablam) UpdateRow(r int, data []string)
- func (t *Tablam) UpdateWithOffset(n int)
- type ThStyle
- type Theme
Constants ¶
This section is empty.
Variables ¶
View Source
var ActiveHeaderCell = 0
View Source
var ColumnSep uint = 1
View Source
var IndexColumn = -1
View Source
var LeftRightMargin = 1
View Source
var PageMode = false
View Source
var Position = -1
View Source
var ReverseSorting bool
View Source
var RowSep uint = 1
View Source
var Selection []int
View Source
var SortingColumn = -1
View Source
var VerticalOffset = 0
Functions ¶
This section is empty.
Types ¶
type TData ¶
type TData struct {
// contains filtered or unexported fields
}
TData holds the original data
type Tablam ¶
Tablam is a gtk grid with a THeader and an slice of TRow
func (Tablam) ActiveRowData ¶
func (*Tablam) AddDataRow ¶
func (Tablam) ClearSelected ¶
func (t Tablam) ClearSelected()
func (*Tablam) CursorDown ¶
func (t *Tablam) CursorDown()
func (Tablam) CursorFontBold ¶
func (*Tablam) DecFontSize ¶
func (t *Tablam) DecFontSize()
func (Tablam) HeaderFontBold ¶
func (*Tablam) IncFontSize ¶
func (t *Tablam) IncFontSize()
func (*Tablam) InsertARow ¶
func (Tablam) NormalFontBold ¶
func (*Tablam) RemoveARow ¶
func (*Tablam) RemoveCursor ¶
func (t *Tablam) RemoveCursor()
func (Tablam) ResetPosition ¶
func (t Tablam) ResetPosition()
func (Tablam) SelectARow ¶
func (t Tablam) SelectARow()
func (Tablam) SelectCursorRow ¶
func (Tablam) SelectFontBold ¶
func (*Tablam) SetCursorColors ¶
func (Tablam) SetCursorFontBold ¶
func (Tablam) SetHeaderFontBold ¶
func (*Tablam) SetNormalColors ¶
func (Tablam) SetNormalFontBold ¶
func (Tablam) SetSelectFontBold ¶
func (*Tablam) ShowOrHideColumn ¶
func (*Tablam) UpdateCursor ¶
func (*Tablam) UpdateWithOffset ¶
Click to show internal directories.
Click to hide internal directories.