Using existing cairo context for GtkDrawingArea

2006-12-08 Thread asubedi
Hi, I am trying to create a Graph widget using Cairo. I am using Ruby, but you can reply in any language you prefer. In the examples I have seen about using cairo in gtk application, most create a cairo context from GtkDrawingArea in the handler of expose event. However, I would like to create a

Using existing cairo context for GtkDrawingArea

2006-12-07 Thread asubedi
Hi, I am trying to create a Graph widget using Cairo. I am using Ruby, but you can reply in any language you prefer. In the examples I have seen about using cairo in gtk application, most create a cairo context from GtkDrawingArea in the handler of expose event. However, I would like to create a