IWindows

class IWindows

Bases: ImpactCOMWrapperBase, Iterable

Summary:

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.

Summary:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

add(value)
Summary:

Adds a new window.

Parameters:

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

close_all()
Summary:

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

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

item(variant)
Summary:

Gets an IWindow object with specified name or index.

Parameters:

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

remove(value)
Summary:

Removes a window.

Parameters:

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