AppendCheckboxColumn appends a column to t that contains a checkbox that the user can interact with (assuming the checkbox is editable). SetCellValue will be called with checkboxModelColumn as the column in this case.
(name string, checkboxModelColumn int, checkboxEditableModelColumn int)
| 119 | // checkbox is editable). SetCellValue will be called with |
| 120 | // checkboxModelColumn as the column in this case. |
| 121 | func (t *Table) AppendCheckboxColumn(name string, checkboxModelColumn int, checkboxEditableModelColumn int) { |
| 122 | cname := C.CString(name) |
| 123 | defer freestr(cname) |
| 124 | C.uiTableAppendCheckboxColumn(t.t, cname, C.int(checkboxModelColumn), C.int(checkboxEditableModelColumn)) |
| 125 | } |
| 126 | |
| 127 | // AppendCheckboxTextColumn appends a column to t |
| 128 | // that contains both a checkbox and text. |