pywinauto.handleprops¶
Functions to retrieve properties from a window handle
These are implemented in a procedural way so as to to be useful to other modules with the least conceptual overhead
pywinauto.handleprops.
children
(handle)¶Return a list of handles to the children of this window
pywinauto.handleprops.
classname
(handle)¶Return the class name of the window
pywinauto.handleprops.
clientrect
(handle)¶Return the client rectangle of the control
pywinauto.handleprops.
contexthelpid
(handle)¶Return the context help id of the window
pywinauto.handleprops.
controlid
(handle)¶Return the ID of the control
pywinauto.handleprops.
dumpwindow
(handle)¶Dump a window to a set of properties
pywinauto.handleprops.
exstyle
(handle)¶Return the extended style of the window
pywinauto.handleprops.
font
(handle)¶Return the font as a LOGFONTW of the window
pywinauto.handleprops.
has_enough_privileges
(process_id)¶Check if target process has enough rights to query GUI actions
pywinauto.handleprops.
has_exstyle
(handle, tocheck)¶Return True if the control has extended style tocheck
pywinauto.handleprops.
has_style
(handle, tocheck)¶Return True if the control has style tocheck
pywinauto.handleprops.
is64bitbinary
(filename)¶Check if the file is 64-bit binary
pywinauto.handleprops.
is64bitprocess
(process_id)¶Return True if the specified process is a 64-bit process on x64
Return False if it is only a 32-bit process running under Wow64. Always return False for x86.
pywinauto.handleprops.
is_toplevel_window
(handle)¶Return whether the window is a top level window or not
pywinauto.handleprops.
isenabled
(handle)¶Return True if the window is enabled
pywinauto.handleprops.
isunicode
(handle)¶Return True if the window is a Unicode window
pywinauto.handleprops.
isvisible
(handle)¶Return True if the window is visible
pywinauto.handleprops.
iswindow
(handle)¶Return True if the handle is a window
pywinauto.handleprops.
parent
(handle)¶Return the handle of the parent of the window
pywinauto.handleprops.
processid
(handle)¶Return the ID of process that controls this window
pywinauto.handleprops.
rectangle
(handle)¶Return the rectangle of the window
pywinauto.handleprops.
style
(handle)¶Return the style of the window
pywinauto.handleprops.
text
(handle)¶Return the text of the window
pywinauto.handleprops.
userdata
(handle)¶Return the value of any user data associated with the window