but there is no specific solution inside GTKD?

for example, in pseudo code

auto surf = new Surface(.......); // look for cairo.Surface doc
auto cr = cairo.Context.Context.create(surf);

// pb is an existing gdkpixbuf.Pixbuf
gdk.Cairo.setSourcePixbuf(cr, pb, width, height);
cr.paint();

adding onDraw event listener on the widget owner of the Pixbuf (gtk.Image for example)

Reply via email to