|
uiautomation
|
公開メンバ関数 | |
| def | __init__ (self, pattern=None) |
| int | ToggleState (self) |
| bool | Toggle (self, float waitTime=OPERATION_WAIT_TIME) |
公開変数類 | |
| pattern | |
| def uiautomation.uiautomation.TogglePattern.__init__ | ( | self, | |
pattern = None |
|||
| ) |
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationtogglepattern
| bool uiautomation.uiautomation.TogglePattern.Toggle | ( | self, | |
| float | waitTime = OPERATION_WAIT_TIME |
||
| ) |
Call IUIAutomationTogglePattern::Toggle. Cycle through the toggle states of the control. waitTime: float. Return bool, True if succeed otherwise False. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtogglepattern-toggle
| int uiautomation.uiautomation.TogglePattern.ToggleState | ( | self | ) |
Property ToggleState. Call IUIAutomationTogglePattern::get_CurrentToggleState. Return int, a value in class `ToggleState`, the state of the control. Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtogglepattern-get_currenttogglestate
| uiautomation.uiautomation.TogglePattern.pattern |