pyWinAuto: pywinauto.controls.win32_controls.DialogWrapper -- Wrap a dialog

DialogWrapper

Wrap a dialog


Attributes

a handle

None

a friendlyclassname

'Dialog'

Methods

f __eq__(self, other) ...

Returns True if the handles of both controls are the same

f __init__(self, hwnd) ...

Initialize the DialogWrapper

The only extra functionality here is to modify self.friendlyclassname to make it "Dialog" if the class is "#32770" otherwise to leave it the same as the window class.

f RunTests(self, tests_to_run=None) ...

Run the tests on dialog

f WriteToXML(self, filename) ...

Write the dialog an XML file (requires elementtree)

f ClientAreaRect(self) ...

Return the client area rectangle

From MSDN The client area of a control is the bounds of the control, minus the nonclient elements such as scroll bars, borders, title bars, and menus.

See the source for more information.