The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mozilla::DOM::WindowCollection

DESCRIPTION

Mozilla::DOM::WindowCollection is a wrapper around an instance of Mozilla's nsIDOMWindowCollection interface. This class inherits from Supports.

* The nsIDOMWindowCollection interface is an interface for a
* collection of DOM window objects.

CLASS METHODS

$iid = Mozilla::DOM::WindowCollection->GetIID()

Pass this to QueryInterface.

METHODS

$len = $coll->GetLength()

    * Accessor for the number of windows in this collection.

$window = $coll->Item($i)

    • $i (integer (long))

    * Method for accessing an item in this collection by index.

$window = $coll->NamedItem($name)

    • $name (string)

    * Method for accessing an item in this collection by window name.

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.