Re: deprecated gtk_cairo_create



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]