[fpc-pascal]RE: force redraw on hscale
Jeff Pohlmeyer
yetanothergeek at yahoo.com
Tue Apr 27 07:58:53 CEST 2004
> My question: how can I force a redraw on selected
> widgets or the whole window when needed?
Maybe this will help:
procedure UpdateWidget(w:pGtkWidget);
var
update_rect: tGdkRectangle;
begin
update_rect.x:=0;
update_rect.y:=0;
update_rect.width:=w^.allocation.width;
update_rect.height:=w^.allocation.height;
gtk_widget_draw(w, @update_rect);
end;
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
More information about the fpc-pascal
mailing list