pywinauto.controlproperties¶
Wrap
- class
pywinauto.controlproperties.
ControlProps
(*args, **kwargs)¶Wrap controls read from a file to resemble hwnd controls
HasExStyle
(exstyle)¶
HasStyle
(style)¶
WindowText
()¶
window_text
()¶
- class
pywinauto.controlproperties.
FuncWrapper
(value)¶Little class to allow attribute access to return a callable object
pywinauto.controlproperties.
GetMenuBlocks
(ctrls)¶
pywinauto.controlproperties.
MenuBlockAsControls
(menuItems, parentage=None)¶
pywinauto.controlproperties.
MenuItemAsControl
(menuItem)¶Make a menu item look like a control for tests
pywinauto.controlproperties.
SetReferenceControls
(controls, refControls)¶Set the reference controls for the controls passed in
- This does some minor checking as following:
- test that there are the same number of reference controls as controls - fails with an exception if there are not
- test if all the ID’s are the same or not