uiautomation
uiautomation.uiautomation.TogglePattern クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
int ToggleState (self)
 
bool Toggle (self, float waitTime=OPERATION_WAIT_TIME)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.TogglePattern.__init__ (   self,
  pattern = None 
)
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationtogglepattern

メソッド詳解

◆ Toggle()

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

◆ ToggleState()

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

メンバ詳解

◆ pattern

uiautomation.uiautomation.TogglePattern.pattern

このクラス詳解は次のファイルから抽出されました: