MCPcopy Index your code
hub / github.com/lxn/walk / SetFormatFunc

Method SetFormatFunc

tableviewcolumn.go:352–354  ·  view source on GitHub ↗

FormatFunc sets the custom format func of this TableViewColumn.

(formatFunc func(value interface{}) string)

Source from the content-addressed store, hash-verified

350
351// FormatFunc sets the custom format func of this TableViewColumn.
352func (tvc *TableViewColumn) SetFormatFunc(formatFunc func(value interface{}) string) {
353 tvc.formatFunc = formatFunc
354}
355
356func (tvc *TableViewColumn) indexInListView() int32 {
357 if tvc.tv == nil {

Callers 1

CreateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected