Connect Cairo and UI

Connect Cairo and UI

BY 08 Feb 2016 Native Application Development

Suppose, I want to show some figure, that’ll be drawing by Cairo after button clicking. So, when I start my app I need to create UI with button and add clicked event handler, that’ll start drawing. What is the right way to destroy UI and start drawing?

Please, help 🙂

Written by