Re: deprecated gtk_cairo_create
- From: Colomban Wendling <lists ban herbesfolles org>
- To: Sergei Kolomeeyets <kolomeeyets gmail com>, GTK Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: deprecated gtk_cairo_create
- Date: Fri, 30 Dec 2016 16:34:29 +0100
Le 30/12/2016 à 15:09, Sergei Kolomeeyets a écrit :
Hi, Colomban
Thanks a lot for you hint! I realised the idea of wrong event hanling.
Do you mean that I SHOULD DO NOTHING to create a cairo context BECAUSE
IT IS in the draw event callback function obligatory parameters? And, if
yes, I could think as if GTK+ itself prepares it for me BEFORE emmit
that event?
Yes, GTK prepares it for you. Don't create it, don't destroy it, just
use it.
Thanks again and Happy New Year!
Thanks, to you too!
Regards,
Colomban
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]