Hi all, I need to draw some lines in a GtkDrawingArea widget, and I use the following code: GtkWidget* w = lookup_widget(MainWnd,"drawingarea1"); gdk_draw_line(w->window, // a GdkDrawable - a GdkWindow w->style->fg_gc[GTK_WIDGET_STATE (w)],// a GdkGC. 10,//the x coordinate of the start point 30,//the y coordinate of the start point 580,//the x coordinate of the end point 30 //the y coordinate of the start point ); it does not work! Anybody knows why? Thanks!! -- View this message in context: http://www.nabble.com/cannot-draw-lines-in-a-GtkDrawingArea-widget-t1827981.html#a4986548 Sent from the Gtk+ - General forum at Nabble.com. _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list