rem: W_ResizeView(table->tableView, 100, 1000);
context: WMTableView *WMCreateTableView(WMWidget *parent){    WMTableView *table = wmalloc(sizeof(WMTableView));    WMScreen *scr = WMWidgetScreen(parent);        memset(table, 0, sizeof(WMTableView));    if (!tableClass) {	tableClass = W_RegisterUserWidget();    }    table->widgetClass = tableClass;        table->view = W_CreateView(W_VIEW(parent));    if (!table->view) 	goto error;    table->view->self = table;            table->view->delegate = &viewDelegate;        table->headerHeight = 20;        table->scrollView = WMCreateScrollView(table);    if (!table->scrollView)	goto error;    WMResizeWidget(table->scrollView, 10, 10);    WMSetScrollViewHasVerticalScroller(table->scrollView, True);    WMSetScrollViewHasHorizontalScroller(table->scrollView, True);    {	WMScroller *scroller;	scroller = WMGetScrollViewHorizontalScroller(table->scrollView);	WMAddNotificationObserver(scrollObserver, table,				  WMScrollerDidScrollNotification,				  scroller);    }    WMMoveWidget(table->scrollView, 1, 2+table->headerHeight);        WMMapWidget(table->scrollView);    table->header = WMCreateFrame(table);    WMMoveWidget(table->header, 22, 2);    WMMapWidget(table->header);    WMSetFrameRelief(table->header, WRFlat);        table->corner = WMCreateLabel(table);    WMResizeWidget(table->corner, 20, table->headerHeight);    WMMoveWidget(table->corner, 2, 2);    WMMapWidget(table->corner);    WMSetLabelRelief(table->corner, WRRaised);    WMSetWidgetBackgroundColor(table->corner, scr->darkGray);        table->tableView = W_CreateView(W_VIEW(parent));    if (!table->tableView)	goto error;    table->tableView->self = table;    W_ResizeView(table->tableView, 100, 1000);    W_MapView(table->tableView);        table->tableView->flags.dontCompressExpose = 1;        table->gridColor = WMCreateNamedColor(scr, "#cccccc", False); /*   table->gridColor = WMGrayColor(scr);*/        {	XGCValues gcv;		gcv.foreground = WMColorPixel(table->gridColor);	gcv.dashes = 1;	gcv.line_style = LineOnOffDash;	table->gridGC = XCreateGC(WMScreenDisplay(scr), W_DRAWABLE(scr),				  GCForeground, &gcv);    }        table->editingRow = -1;    table->clickedRow = -1;            table->drawsGrid = 1;    table->rowHeight = 16;    WMSetScrollViewLineScroll(table->scrollView, table->rowHeight);        table->tableWidth = 1;        table->columns = WMCreateArray(4);    table->splitters = WMCreateArray(4);    table->selectedRows = WMCreateArray(16);        table->splitterCursor = XCreateFontCursor(WMScreenDisplay(scr),					      XC_sb_h_double_arrow);        table->canSelectRow = 1;        WMCreateEventHandler(table->view, ExposureMask|StructureNotifyMask,                         handleEvents, table);    WMCreateEventHandler(table->tableView, ExposureMask|ButtonPressMask|			 ButtonReleaseMask|ButtonMotionMask,                         handleTableEvents, table);    WMSetScrollViewContentView(table->scrollView, table->tableView);        return table;     error:    if (table->scrollView) 	WMDestroyWidget(table->scrollView);    if (table->tableView)	W_DestroyView(table->tableView);    if (table->view)	W_DestroyView(table->view);    wfree(table);    return NULL;}