ImageProvider is the interface that a model must implement to support displaying an item image.
| 297 | // ImageProvider is the interface that a model must implement to support |
| 298 | // displaying an item image. |
| 299 | type ImageProvider interface { |
| 300 | // Image returns the image to display for the item at index index. |
| 301 | // |
| 302 | // Supported types are *walk.Bitmap, *walk.Icon and string. A string will be |
| 303 | // interpreted as a file path and the icon associated with the file will be |
| 304 | // used. It is not supported to use strings together with the other options |
| 305 | // in the same model instance. |
| 306 | Image(index int) interface{} |
| 307 | } |
| 308 | |
| 309 | // CellStyler is the interface that must be implemented to provide a tabular |
| 310 | // widget like TableView with cell display style information. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…