AppendImageColumn appends an image column to t. Images are drawn at icon size, appropriate to the pixel density of the screen showing the Table.
(name string, imageModelColumn int)
| 99 | // Images are drawn at icon size, appropriate to the pixel density |
| 100 | // of the screen showing the Table. |
| 101 | func (t *Table) AppendImageColumn(name string, imageModelColumn int) { |
| 102 | cname := C.CString(name) |
| 103 | defer freestr(cname) |
| 104 | C.uiTableAppendImageColumn(t.t, cname, C.int(imageModelColumn)) |
| 105 | } |
| 106 | |
| 107 | // AppendImageTextColumn appends a column to t that |
| 108 | // shows both an image and text. |