uiautomation
uiautomation.uiautomation.SelectionItemPattern クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
bool AddToSelection (self, float waitTime=OPERATION_WAIT_TIME)
 
bool IsSelected (self)
 
'ControlSelectionContainer (self)
 
bool RemoveFromSelection (self, float waitTime=OPERATION_WAIT_TIME)
 
bool Select (self, float waitTime=OPERATION_WAIT_TIME)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

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

メソッド詳解

◆ AddToSelection()

bool uiautomation.uiautomation.SelectionItemPattern.AddToSelection (   self,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationSelectionItemPattern::AddToSelection.
Add the current element to the collection of selected items.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-addtoselection

◆ IsSelected()

bool uiautomation.uiautomation.SelectionItemPattern.IsSelected (   self)
Property IsSelected.
Call IUIAutomationScrollPattern::get_CurrentIsSelected.
Return bool, indicates whether this item is selected.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentisselected

◆ RemoveFromSelection()

bool uiautomation.uiautomation.SelectionItemPattern.RemoveFromSelection (   self,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationSelectionItemPattern::RemoveFromSelection.
Remove this element from the selection.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-removefromselection

◆ Select()

bool uiautomation.uiautomation.SelectionItemPattern.Select (   self,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationSelectionItemPattern::Select.
Clear any selected items and then select the current element.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-select

◆ SelectionContainer()

'Control' uiautomation.uiautomation.SelectionItemPattern.SelectionContainer (   self)
Property SelectionContainer.
Call IUIAutomationScrollPattern::get_CurrentSelectionContainer.
Return `Control` subclass, the element that supports IUIAutomationSelectionPattern and acts as the container for this item.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationscrollpattern-get_currentselectioncontainer

メンバ詳解

◆ pattern

uiautomation.uiautomation.SelectionItemPattern.pattern

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