Re: GtkDrawingArea initialization

2004-11-23 Thread sinsedrix
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

Re: GtkDrawingArea initialization

2004-11-23 Thread Sven Neumann
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);

GtkDrawingArea initialization

2004-11-22 Thread Ian Strascina
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

Re: GtkDrawingArea initialization

2004-11-22 Thread Paul Davis
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