pyWinAuto: pywinauto.controls.win32_controls.PopupMenuWrapper -- Wrap a Popup Menu

PopupMenuWrapper

Wrap a Popup Menu


Attributes

a handle

None

a windowclasses

['#32768']

a friendlyclassname

'PopupMenu'

Methods

f __init__(self, hwnd) ...

Initialize the control

  • hwnd is either a valid window handle or it can be an instance or subclass of HwndWrapper.

If the handle is not valid then an InvalidWindowHandle error is raised.

f __eq__(self, other) ...

Returns True if the handles of both controls are the same

f IsDialog(self) ...

Return whether it is a dialog

See the source for more information.