Changes the current window to win and returns win if the corresponding window exists. Else returns and the current window is unchanged. Here is an example of this function use:
Returns the current window number.
On success, creates a new untitled window and returns its number, else returns -1.
Kills the window win. If win is the last window, quits Xcoral. Else if win is the current window another window becomes the current window. Following is an example of this function use:
Puts the current window under all the others.
Puts the current window above all the others.
Returns the current window height (number of lines in current page).
int window_width(int character)
If character width is not null for the current window font, returns the number of times character can be written on the current window width; for a fixed font this value is the number of columns. Else, if character is not visible (it is the case for the null character in all fonts), returns the opposite of current window width in pixels.
See also redisplay() (§7.3.8 page ), filename()
(§7.3.8 page ) and set\_
font() (§7.3.8 page ).