add: view->eventHandlers = WMCreateBag(4);
context: createView(W_Screen *screen, W_View *parent){    W_View *view;    if (ViewContext==0)	ViewContext = XUniqueContext();        view = wmalloc(sizeof(W_View));    memset(view, 0, sizeof(W_View));        view->refCount = 1;        view->screen = screen;    if (parent!=NULL) {	/* attributes are not valid for root window */	view->attribFlags = CWEventMask|CWBitGravity;	view->attribs = defAtts;	view->attribFlags |= CWBackPixel|CWColormap|CWBorderPixel;	view->attribs.background_pixel = W_PIXEL(screen->gray);	view->attribs.border_pixel = W_PIXEL(screen->black);	view->attribs.colormap = screen->colormap;	view->backColor = WMRetainColor(screen->gray);	adoptChildView(parent, view);    }    return view;}