pyWinAuto: pywinauto.controls.common_controls.TabControlWrapper -- Class that wraps Windows Tab common control

TabControlWrapper

Class that wraps Windows Tab common control


Attributes

a handle

None

a windowclasses

['SysTabControl32', 'WindowsForms\\d*\\.SysTabControl32\\..*']

a friendlyclassname

'TabControl'

Methods

f __eq__(self, other) ...

Returns True if the handles of both controls are the same

f __init__(self, hwnd) ...

Initialise the instance

f RowCount(self) ...

Return the number of rows of tabs

f GetSelectedTab(self) ...

Return the index of the selected tab

f TabCount(self) ...

Return the number of tabs

f GetTabRect(self, tab_index) ...

Return the rectangle to the tab specified by tab_index

f GetTabText(self, tab_index) ...

Return the text of the tab

f GetProperties(self) ...

Return the properties of the TabControl as a Dictionary

f ClientRects(self) ...

Return the client rectangles for the Tab Control

f Texts(self) ...

Return the texts of the Tab Control

f Select(self, tab) ...

Select the specified tab on the tab control

See the source for more information.