In gtk2 (Linux), Controls do not have an OnPaint message, an overwritten Paint message is not executed. Only tForm.OnPaint/Paint exists and is executed.
I have got a Form where a Control resides in. I want to redraw only a part of my Control. (The Control is an editor and fills nearly the whole Form). But with InvalidateRect I can only make a repaint of the whole Form and if the control is part of the invalidated Rectangle, the whole Control gets painted. In Windows, I can send an InvalidateRect (Control.Handle...)
How to redraw a part of a control on the Linux platform without having a Control.Paint ?
Setting Control.Fillrect before using InvalidateRect (Form.Handle) has no effect.
Redrawing outside the Paint message works, but this would not work on MacOS, because MacOS only allows drawing within a Paint message.
A sample is nearby. If the control gets white, the whole control has been repainted I do not want.