How do I get a GtkDrawingArea to show some initial drawings when the GUI
starts...??? Specifically, I want a 2x2 rectangle pre-drawn at the
center of the DrawingArea so that when the program starts, you can
immediately see this center point... The problem is, I have inserted the
drawing
Hi,
[EMAIL PROTECTED] writes:
So you should emit an exopose_event on your DrawingArea, there are
several ways to do it :
g_signal_emit_by_name(darea, expose_event);
That would be just as wrong as drawing outside the expose_event handler.
gtk_widget_queue_draw_area(darea, x, y, w, h);
How do I get a GtkDrawingArea to show some initial drawings when the GUI
starts...??? Specifically, I want a 2x2 rectangle pre-drawn at the
center of the DrawingArea so that when the program starts, you can
immediately see this center point... The problem is, I have inserted the
drawing
How do I get a GtkDrawingArea to show some initial drawings when the GUI
starts...??? Specifically, I want a 2x2 rectangle pre-drawn at the
center of the DrawingArea so that when the program starts, you can
immediately see this center point... The problem is, I have inserted the
drawing code