[Lazarus] RE : gtk2 TCustomControl.Paint, InvalidateRect

Ludo Brands ludo.brands at free.fr
Thu Jul 7 18:05:33 CEST 2011


> > 
> > Any idea what i can do ?
> 
> 
> 
> How to get an idea with such informations ? What's wrong 
> a) TGtk2WidgetSet.InvalidateRect
> b) Canvas.ClipRect 
> ?

A little bit more information would be indeed helpfull. 

One thing I noticed on ubuntu gnome is that Canvas.ClipRect is always the
full region even when the region was only partially masked by another
window. On solaris 10 with Java Desktop System, also gtk2, Canvas.ClipRect
returns the area masked by the other window. So, this could even be a window
manager "thing".

Ludo






More information about the Lazarus mailing list