ListViewWrapper
Class that wraps Windows ListView common control
The ListViewWrapper class is accessible via the pywinauto.controls.common_controls module.
This class derives from HwndWrapper - so has all the methods o that class also
Attributes
Methods
f GetItem(self, item_index, subitem_index=0) ...
Return the item of the list view"
- item_index Can be either the index of the item or a string with the text of the item you want returned.
- subitem_index The 0 based index of the item you want returned. Defaults to 0.
f Select(self, item) ...
Mark the item as selected
The ListView control must be enabled and visible before an Item can be selected otherwise an exception is raised
f Deselect(self, item) ...
Mark the item as not selected
The ListView control must be enabled and visible before an Item can be selected otherwise an exception is raised
See the source for more information.