MCPcopy Create free account
hub / github.com/andlabs/ui / AppendImageColumn

Method AppendImageColumn

table.go:101–105  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

99// Images are drawn at icon size, appropriate to the pixel density
100// of the screen showing the Table.
101func (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.

Callers

nothing calls this directly

Calls 1

freestrFunction · 0.85

Tested by

no test coverage detected