[comp.windows.x.motif] MainWindow/DrawingArea Problem. Help!

gerolima@wdl1.wdl.fac.com (Mark K Gerolimatos) (08/24/90)

	For some stupid, foolish reason, I've come to believe that that main
	window is a useful construct (I'm using version 1.0.A, Sun 3/160 running
	4.0.3), if you could actually get it to work with something!

	 I am trying to use a MainWindow with a DrawingArea for the work window. 	Good luck! The DrawingArea gets placed at some random place. So, I 
	tried adding in a Frame in between the MainWindow and the DrawingArea. 
	Seems to work. ***However, the DrawingArea doesn't seem to be getting 
	exposeEvents.***

	Before:
			MainWindow
		     MB    ComW  WorkW
		    /       |       \
		MenuBar    Form    Drawing Area

	After: (note: you SHOULDN'T have to do this...this is a bug workaround)
			MainWindow
		     /      |      \
		    /       |       \
		MenuBar    Form    Frame
				     |
				     |
		                Drawing Area

	Somehow, does the loss of expose events have to do with the insertion 
	of the frame as a work window? Or is there something basically wrong 
	with this workaround? I would think not.

	-Mark Gerolimatos