Module window

Source
Expand description

Provides functions to interact with windows.

Structs§

Builder
A window builder.

Functions§

destroy
Destroy window.
enum_by
Enumerates over windows handles and calls callback on each
enum_by_until
Enumerates over windows handles and calls callback on each
find
Search for a window’s handle.
find_child
Search for a window’s child.
get_active
Retrieves the window handle to the active window attached to the calling thread’s message queue.
get_by_class
Retrieves list of handles to specific window class
get_by_pid
Retrieves handle to a window by pid using enum_by_until.
get_by_title
Retrieves list of handles to windows with specific title’s text.
get_class
Retrieves window’s class name.
get_console
Retrieves the window handle used by the console associated with the calling process.
get_text
Retrieves window’s title.
get_thread_process_id
Retrieves the identifier of the thread and process that created the specified window.
is_visible
Determines if window is visible.
send_get_text
Sends get text message to a window
send_message
Sends message to a window.
send_push_button
Sends push button message to a window.
send_set_text
Sends set text message to a window.
send_sys_command
Sends sys command to a window.
show
Shows window