W_OPEN(3)			WLIB-CALLS			W_OPEN(3)

NAME

	w_open()

SYPNOSIS

	#include <Wlib.h>

	short w_open(short handle, short x0, short y0);

DESCRIPTION

	 w_open() opens the window with the handle `handle' as returned by
	w_create() at the given position. the position is checked against the
	screen size so that no parts of the window will be out of the screen.

	 a special case is when you give -1 for both x0 and y0: this will draw
	you a rectangle on the screen which can be moved by the mouse. this way
	you may choose the position thw window should have. if you press the
	left mouse button you'll select the current position and if you press
	the right button you'll discard the window. on most clients the latter
	will have the side effect of terminating the client.

RETURNS

	- a negative error if an error occured or you discarded the window

	- anything else otherwise

SEE ALSO

	wcreate(3), wclose(3) and wdelete(3)

LAST CHANGED

	12/94 by TeSche, itschere@techfak.uni-bielefeld.de
