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

Method setText

window.go:1222–1228  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

1220}
1221
1222func (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
1230func windowText(hwnd win.HWND) string {
1231 textLength := win.SendMessage(hwnd, win.WM_GETTEXTLENGTH, 0, 0)

Callers

nothing calls this directly

Calls 1

setWindowTextFunction · 0.85

Tested by

no test coverage detected