qwindows ({<style> {,<mode> {,<element>}}})
window
An array of windows, all of which satisfy selection criteria. This may return a zero-length array if no windows are found.
<style>
A string specifying a window style, e.g. graphic, panel, alpha etc. See
window.style.
Only windows of this style will be returned. Use null
(an empty string) to specify any style.
<mode>
A numeric value further qualifying which windows are required, possible
values are:
0   any window
1   top-level windows only
2   child windows only
The default value is 0.
<element>
A string specifying a window element, i.e. member variable or function.
Only windows for which the element window.<element>
exists will be returned. Use null (an empty string)
or omit the parameter to specify that you do not want to use this facility.
Find all the graphic windows.
window gwins[] = qwindows("graphic")
Find all the graphic sub-windows.
window gwins[] = qwindows("graphic",2)
Find all the windows with an addLayer member function.
window laywins[] = qwindows(null,0,"addLayer")
Commands: |
|
Structures: |