Max 5 API Reference

Windows
[Miscellaneous]

Collaboration diagram for Windows:

Functions

t_objectjwind_getactive (void)
 Get the current window, if any.
long jwind_getcount (void)
 Determine how many windows exist.
t_objectjwind_getat (long index)
 Return a pointer to the window with a given index.

Function Documentation

t_object* jwind_getactive ( void   ) 

Get the current window, if any.

Returns:
A pointer to the current window, if there is one. Otherwise returns NULL.
t_object* jwind_getat ( long  index  ) 

Return a pointer to the window with a given index.

Parameters:
index Get window at index (0 to count-1).
Returns:
A pointer to a window object.
long jwind_getcount ( void   ) 

Determine how many windows exist.

Returns:
The number of windows.

Copyright © 2008, Cycling '74