[comp.windows.x] Square buttons in xmh R4?

ehrlich@cs.psu.edu (Dan Ehrlich) (01/28/91)

Is there any way, short of recompiling, to get xmh to use rectangular
buttons instead of the ones with rounded ends?  The X server on the RTs
is very slow frawing these and I really do not care what shape they are.

Please reply via e-mail.  Thanks in advance.
--
Dan Ehrlich - Sr. Systems Programmer - Penn State Computer Science
<ehrlich@cs.psu.edu>/Voice: +1 814 863 1142/FAX: +1 814 865 3176

converse@expo.lcs.mit.EDU (01/29/91)

> Is there any way, short of recompiling, to get xmh to use rectangular
> buttons instead of the ones with rounded ends?

The shape of a button is an attribute of a widget controlled by setting a 
resource.  The resources of the various button widgets in the Athena widget 
set are documented in the R4 manual "Athena Widget Set - C Language 
Interface".  The documentation is included in the R4 distribution from MIT.

xmh*shapeStyle:		Rectangle