IWindows

class IWindows

Bases: ImpactCOMWrapperBase, Iterable

Description:

A collection of IWindow objects.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property count

Gets Count.

Description:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

add(value)
Description:

Adds a new window.

Parameters:

value (any) – Specifies the name of the new window.

close_all()
Description:

Calls the close method of all IWindow objects in the collection.

item(variant)
Description:

Gets an IWindow object with specified name or index.

Parameters:

variant (any) – Specifies the name or index of the object to retrieve.

remove(value)
Description:

Removes a window.

Parameters:

value (any) – Specifies the name of the window to remove.