Re: What should be used?
- From: Stefan Salewski <mail ssalewski de>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: What should be used?
- Date: Wed, 29 Jul 2015 15:55:50 +0200
On Wed, 2015-07-29 at 13:05 +0100, Emmanuele Bassi wrote:
If you have legacy code that requires disabling double buffering, you
should probably invest some time into porting it to a proper solution
integrated with the GTK drawing model;
It would be great if someone could port this example to GTK3:
http://www.cairographics.org/threaded_animation_with_cairo/
Some months ago I was going to port that to Nim to test my GTK3 and
Cairo bindings (https://github.com/StefanSalewski?tab=repositories) and
to have one more example.
But then I discovered that this one seems to be still GTK2, and has
gtk_widget_set_double_buffered(window, FALSE);
I may be able to get that C code to compile with GTK3, but unfortunately
I may not be able to make it a really fine GTK3/Cairo example, so it
would not make much sense to convert it to Nim then.
Does someone know another fine small GTK3/Cairo example (C, C++, Ruby,
Python -- or maybe arbitrary other language) which is not outdated?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]