(text string)
| 1220 | } |
| 1221 | |
| 1222 | func (wb *WindowBase) setText(text string) error { |
| 1223 | if err := setWindowText(wb.hWnd, text); err != nil { |
| 1224 | return err |
| 1225 | } |
| 1226 | |
| 1227 | return nil |
| 1228 | } |
| 1229 | |
| 1230 | func windowText(hwnd win.HWND) string { |
| 1231 | textLength := win.SendMessage(hwnd, win.WM_GETTEXTLENGTH, 0, 0) |
nothing calls this directly
no test coverage detected