awvAddSubwindow
awvAddSubwindow(w_windowID) =>x_subwindow/nil
Description
Adds a subwindow to the specified Waveform window.
Arguments
Value Returned
|
Identification number of the subwindow, which can be found in the top-right corner of the subwindow. |
|
|
The subwindow cannot be added because the specified Waveform window does not exist. |
Examples
The following example creates a Waveform window and returns its window ID.
win=awvCreatePlotWindow()
=> window:3
The following example returns the identification number of the current subwindow in the specified Waveform window win.
awvGetCurrentSubwindow(win)
=> 1
The following examples adds a subwindow to the specified Waveform window and returns the identification number of the added subwindow. Note that the newly added subwindow is also selected as the current subwindow.
awvAddSubwindow(win)
=> 2
The following example returns the identification number of the current subwindow in the specified Waveform window win.
awvGetCurrentSubwindow(win)
=> 2
The following example returns the window ID of the current Waveform window.
window=awvGetCurrentWindow()
=> window:3
The following example adds a subwindow to the specified Waveform window.
awvAddSubwindow(window)
=> 3
Related Topics
Return to top