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

Method SetStateMap

accessibility.go:172–174  ·  view source on GitHub ↗

SetStateMap sets window state map using Dynamic Annotation. The state map must be set when the window is created and is not to be modified later.

(stateMap string)

Source from the content-addressed store, hash-verified

170// SetStateMap sets window state map using Dynamic Annotation. The state map must be set when
171// the window is created and is not to be modified later.
172func (a *Accessibility) SetStateMap(stateMap string) error {
173 return a.accSetPropertyStr(a.wb.hWnd, &win.PROPID_ACC_STATEMAP, 0, stateMap)
174}
175
176// SetValueMap sets window value map using Dynamic Annotation. The value map must be set when
177// the window is created and is not to be modified later.

Callers 1

initAccessibilityMethod · 0.80

Calls 1

accSetPropertyStrMethod · 0.95

Tested by

no test coverage detected