Re: Flickering with Socket and Plug

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

 



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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux