[comp.soft-sys.andrew] how to create windows of a given size with im?

bill@allegra.tempo.nj.att.com (Bill Schell) (10/20/90)

How does one go about creating new windows of a particular size using 
the im class?  Using im_SetPreferedDimensions() before calling
to im_Create() doesn't seem to cause any change from the default
size specified in my initfile for the application I'm writing.

Thanks.,
	Bill Schell
	AT&T Bell Labs, Murray Hill, NJ
	bill@allegra.att.com

gk5g+@ANDREW.CMU.EDU (Gary Keim) (10/20/90)

Excerpts from misc: 19-Oct-90 how to create windows of a .. Bill
Schell@allegra.temp (340)

> How does one go about creating new windows of a particular size using 
the im class? 

See the code for frame_NewWindow and frame_DeleteWindow in 
frame/framecmd.c. The im_SetGeometrySpec() class procedure can be called
prior to creating a new window and sent a string with a standard X style
geometry spec. This will allow window size and placement. 

Gary Keim
ATK Group