Last modified: 2012-12-5
Class Wind
The Wind object is a property of a Patcher that represents its window. You cannot create a new Wind or access other types of windows such as that of a Max table object.
Wind in Cycling '74 Reference
Constructor Attributes | Constructor Name and Description |
---|---|
Wind()
The Wind object is a property of a Patcher that represents its window.
|
Field Attributes | Field Name and Description |
---|---|
Patcher get |
The Patcher object associated with the window.
|
String get |
The Max class of the object associated with the window.
|
Boolean get/set |
Has the window’s contents been modified? This property is read-only in the runtime version of Max.
|
Boolean get/set |
Does the window have a grow area?
|
Boolean get/set |
Does the window have a horizontal scroll bar?
|
Boolean get/set |
Does the window have a window title bar?
|
Boolean get/set |
Does the window have a vertical scroll bar?
|
Boolean get/set |
Does the window have a zoom box?
|
Array get/set |
An array of four coordinates (left, top, right, bottom) representing the window’s location in global coordinates.
|
Wind get |
The Wind object of the next patcher visible in the application’s list of windows The first Wind object can be
accessed using the frontpatcher property of the Max object (as max.frontpatcher.wind).
|
Array get/set |
An array of two coordinates (width, height) representing the window’s size.
|
String get/set |
The window’s title.
|
Boolean get/set |
Can you see the window?
|
Method Attributes | Method Name and Description |
---|---|
void |
Moves the window in front of all other windows
|
void |
scrollto(x, y)
Scrolls the window so that x and y are at the top-left corner.
|
void |
Moves the window behind all other windows
|
void |
setlocation(left, top, bottom, right)
Set the global location of the window according to the coordinates passed in as arguments
|
Class Detail
Wind
()
The Wind object is a property of a Patcher that represents its window. You cannot create a new Wind or access other types of windows such as that of a Max table object.
Field Detail
{Patcher get}
assoc
The Patcher object associated with the window.
- Example:
//TODO
{String get}
assocclass
The Max class of the object associated with the window.
- Example:
//TODO
{Boolean get/set}
dirty
Has the window’s contents been modified? This property is read-only in the runtime version of Max.
- Example:
//TODO
{Boolean get/set}
hasgrow
Does the window have a grow area?
- Example:
//TODO
{Boolean get/set}
hashorizscroll
Does the window have a horizontal scroll bar?
- Example:
//TODO
{Boolean get/set}
hastitlebar
Does the window have a window title bar?
- Example:
//TODO
{Boolean get/set}
hasvertscroll
Does the window have a vertical scroll bar?
- Example:
//TODO
{Boolean get/set}
haszoom
Does the window have a zoom box?
- Example:
//TODO
{Array get/set}
location
An array of four coordinates (left, top, right, bottom) representing the window’s location in global coordinates.
- Example:
//TODO
{Wind get}
next
The Wind object of the next patcher visible in the application’s list of windows The first Wind object can be
accessed using the frontpatcher property of the Max object (as max.frontpatcher.wind).
- Example:
//TODO
{Array get/set}
size
An array of two coordinates (width, height) representing the window’s size.
- Example:
//TODO
{String get/set}
title
The window’s title.
- Example:
//TODO
{Boolean get/set}
visible
Can you see the window?
- Example:
//TODO
Method Detail
{void}
bringtofront
()
Moves the window in front of all other windows
- Example:
//TODO
{void}
scrollto
(x, y)
Scrolls the window so that x and y are at the top-left corner.
- Example:
//TODO
- Parameters:
- {Integer} x
- {Integer} y
{void}
sendtoback
()
Moves the window behind all other windows
- Example:
//TODO
{void}
setlocation
(left, top, bottom, right)
Set the global location of the window according to the coordinates passed in as arguments
- Example:
//TODO
- Parameters:
- {Integer} left
- {Integer} top
- {Integer} bottom
- {Integer} right