Re: Flickering with Socket and Plug



On Sun, 2017-09-24 at 13:54 +0200, René Hansen wrote:
it starts flickering constantly

I don't know what Socket and Plug is...

But you seems to do the drawing completely wrong.

Generally gtk_widget_queue_draw() is involved in the drawing process,
that is that your timer does not do the drawing directly, but only
invalidates the widget, which cause a indirect draw.

You may find a few examples for this, one recent using plain C was
contained in this thread:

https://lists.cairographics.org/archives/cairo/2016-October/027791.html

https://pastebin.com/in17XGjs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]