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)
| 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. |
| 161 | func (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. |
| 166 | func (a *Accessibility) SetState(state AccState) error { |
no test coverage detected