NewTable creates a new Table with the specified parameters.
(p *TableParams)
| 72 | |
| 73 | // NewTable creates a new Table with the specified parameters. |
| 74 | func NewTable(p *TableParams) *Table { |
| 75 | t := new(Table) |
| 76 | |
| 77 | cp := p.toLibui() |
| 78 | t.t = C.uiNewTable(cp) |
| 79 | C.pkguiFreeTableParams(cp) |
| 80 | |
| 81 | t.ControlBase = NewControlBase(t, uintptr(unsafe.Pointer(t.t))) |
| 82 | return t |
| 83 | } |
| 84 | |
| 85 | // AppendTextColumn appends a text column to t. name is |
| 86 | // displayed in the table header. textModelColumn is where the text |
nothing calls this directly
no test coverage detected