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

Method SetRoleMap

accessibility.go:161–163  ·  view source on GitHub ↗

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

(roleMap string)

Source from the content-addressed store, hash-verified

159// SetRoleMap sets window role map using Dynamic Annotation. The role map must be set when the
160// window is created and is not to be modified later.
161func (a *Accessibility) SetRoleMap(roleMap string) error {
162 return a.accSetPropertyStr(a.wb.hWnd, &win.PROPID_ACC_ROLEMAP, 0, roleMap)
163}
164
165// SetState sets window state using Dynamic Annotation.
166func (a *Accessibility) SetState(state AccState) error {

Callers 1

initAccessibilityMethod · 0.80

Calls 1

accSetPropertyStrMethod · 0.95

Tested by

no test coverage detected