GtkDrawingArea initialization

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 in several places I think it would work (in a constructor -- using gtkmm), but when I run my program, the rectangle does not show up... Please help...

	- Ian

There are 10 kinds of people:
Those that understand binary and those that don't...

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