pyWinAuto: pywinauto.controls.HwndWrapper -- Basic wrapping of Windows controls

HwndWrapper

Basic wrapping of Windows controls


Attributes

a Timings

<pywinauto.timings.TimeConfig object at 0x014D30F0>

Functions

f GetDialogPropsFromHandle(hwnd) ...

Get the properties of all the controls as a list of dictionaries

Classes

C ControlNotEnabled(...) ...

Raised when a control is not enabled

This class contains 2 members.

C ControlNotVisible(...) ...

Raised when a control is nto visible

This class contains 2 members.

C InvalidWindowHandle(...) ...

Raised when an invalid handle is passed to HwndWrapper

This class contains 2 members.

C HwndWrapper(...) ...

Default wrapper for controls.

All other wrappers are derived from this.

This class wraps a lot of functionality of underlying windows API features for working with windows.

Most of the methods apply to every single window type. For example you can Click() on any window.

Most of the methods of this class are simple wrappers around API calls and as such they try do the simplest thing possible.

A HwndWrapper object can be passed directly to a ctypes wrapped C function - and it will get converted to a Long with the value of it's handle (see ctypes, _as_parameter_)

This class contains 73 members.

See the source for more information.