add: WMAddNotificationObserver(realizeObserver, lPtr, WMViewRealizedNotification, lPtr->view);
context: WMCreateList(WMWidget *parent){    List *lPtr;    W_Screen *scrPtr = W_VIEW(parent)->screen;    lPtr = wmalloc(sizeof(List));    memset(lPtr, 0, sizeof(List));    lPtr->widgetClass = WC_List;    lPtr->view = W_CreateView(W_VIEW(parent));    if (!lPtr->view) {        wfree(lPtr);        return NULL;    }    lPtr->view->self = lPtr;    lPtr->view->delegate = &_ListViewDelegate;    WMCreateEventHandler(lPtr->view, ExposureMask|StructureNotifyMask                         |ClientMessageMask, handleEvents, lPtr);    WMCreateEventHandler(lPtr->view, ButtonPressMask|ButtonReleaseMask                         |EnterWindowMask|LeaveWindowMask|ButtonMotionMask,                         handleActionEvents, lPtr);    lPtr->itemHeight = WMFontHeight(scrPtr->normalFont) + 1;    lPtr->items = WMCreateArrayWithDestructor(4, releaseItem);    lPtr->selectedItems = WMCreateArray(4);    /* create the vertical scroller */    lPtr->vScroller = WMCreateScroller(lPtr);    WMMoveWidget(lPtr->vScroller, 1, 1);    WMSetScrollerArrowsPosition(lPtr->vScroller, WSAMaxEnd);    WMSetScrollerAction(lPtr->vScroller, vScrollCallBack, lPtr);    /* make the scroller map itself when it's realized */    WMMapWidget(lPtr->vScroller);    W_ResizeView(lPtr->view, DEFAULT_WIDTH, DEFAULT_HEIGHT);    return lPtr;}