Luiz Rafael Culik Guimaraes wrote:
Hello friends

I need to draw an cairo rectangle on an gtk app. does this rectangle can be draw inside an gtk_drawing_area_new() widget?

Regards
Luiz
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Hi.

I think you can get the GdkDrawable from the widget->window and acquire cairo context from it with gdk_cairo_create (), then draw on it.

Regards, Alexander
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list
  • cairo drawing Luiz Rafael Culik Guimaraes
    • Re: cairo drawing Alexander Semenov

Reply via email to