uiautomation
uiautomation.uiautomation.SelectionPattern クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
bool CanSelectMultiple (self)
 
bool IsSelectionRequired (self)
 
List[ 'Control'] GetSelection (self)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

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

メソッド詳解

◆ CanSelectMultiple()

bool uiautomation.uiautomation.SelectionPattern.CanSelectMultiple (   self)
Property CanSelectMultiple.
Call IUIAutomationSelectionPattern::get_CurrentCanSelectMultiple.
Return bool, indicates whether more than one item in the container can be selected at one time.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionpattern-get_currentcanselectmultiple

◆ GetSelection()

List['Control'] uiautomation.uiautomation.SelectionPattern.GetSelection (   self)
Call IUIAutomationSelectionPattern::GetCurrentSelection.
Return List[Control], a list of `Control` subclasses, the selected elements in the container..
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionpattern-getcurrentselection

◆ IsSelectionRequired()

bool uiautomation.uiautomation.SelectionPattern.IsSelectionRequired (   self)
Property IsSelectionRequired.
Call IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired.
Return bool, indicates whether at least one item must be selected at all times.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionpattern-get_currentisselectionrequired

メンバ詳解

◆ pattern

uiautomation.uiautomation.SelectionPattern.pattern

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