The redraw function of a window proportional window
Programming guideline of WinDom

General rules

A redraw function (as every event function) has the following structure:

void a_redraw_function ( WINDOW *win) {
	...;
}
The parameter win is the descriptor of the window that has to be redrawed. Let's give some important remarks to design this redraw function.

In the next section, we'll see some examples that create windows. You'll see also how to attach data to a window using the Windom DataAttach() funciton.