> 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 

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to