Documentation ¶
Index ¶
- type GUISpider
- type SpiderMenu
- func (m *SpiderMenu) Checked(row int) bool
- func (m *SpiderMenu) GetChecked() []*GUISpider
- func (m *SpiderMenu) Len() int
- func (m *SpiderMenu) Less(i, j int) bool
- func (m *SpiderMenu) RowCount() int
- func (m *SpiderMenu) SetChecked(row int, checked bool) error
- func (m *SpiderMenu) Sort(col int, order walk.SortOrder) error
- func (m *SpiderMenu) Swap(i, j int)
- func (m *SpiderMenu) Value(row, col int) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GUISpider ¶
type SpiderMenu ¶
type SpiderMenu struct { walk.TableModelBase walk.SorterBase // contains filtered or unexported fields }
func NewSpiderMenu ¶
func NewSpiderMenu(species *spider.SpiderSpecies) *SpiderMenu
func (*SpiderMenu) Checked ¶
func (m *SpiderMenu) Checked(row int) bool
Called by the TableView to retrieve if a given row is checked.
func (*SpiderMenu) Len ¶
func (m *SpiderMenu) Len() int
func (*SpiderMenu) Less ¶
func (m *SpiderMenu) Less(i, j int) bool
func (*SpiderMenu) RowCount ¶
func (m *SpiderMenu) RowCount() int
Called by the TableView from SetModel and every time the model publishes a RowsReset event.
func (*SpiderMenu) SetChecked ¶
func (m *SpiderMenu) SetChecked(row int, checked bool) error
Called by the TableView when the user toggled the check box of a given row.
func (*SpiderMenu) Sort ¶
func (m *SpiderMenu) Sort(col int, order walk.SortOrder) error
Called by the TableView to sort the model.
func (*SpiderMenu) Swap ¶
func (m *SpiderMenu) Swap(i, j int)
func (*SpiderMenu) Value ¶
func (m *SpiderMenu) Value(row, col int) interface{}
Called by the TableView when it needs the text to display for a given cell.
Click to show internal directories.
Click to hide internal directories.