deprecated, use SetPaintMode
(value bool)
| 85 | |
| 86 | // deprecated, use SetPaintMode |
| 87 | func (cw *CustomWidget) SetClearsBackground(value bool) { |
| 88 | if value != cw.ClearsBackground() { |
| 89 | if value { |
| 90 | cw.paintMode = PaintNormal |
| 91 | } else { |
| 92 | cw.paintMode = PaintNoErase |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | func (cw *CustomWidget) InvalidatesOnResize() bool { |
| 98 | return cw.invalidatesOnResize |
no test coverage detected