GtkDrawingArea



Can anyone tell me what I need to do to add a GtkPlot to a GtkDrawingArea?
I've tried using;

gtk_plot_set_drawable(GTK_PLOT(active_plot),
GTK_WIDGET(drawing_area)->window);
gtk_plot_paint(GTK_PLOT(active_plot));
gtk_plot_refresh(GTK_PLOT(active_plot), NULL);

but I only get a blank screen.



				-- Stupid Genius




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]