[comp.windows.x] x, y, width, and height of widgets

mohamedh@cat24.CS.WISC.EDU (Mohamed Mohamedhashim) (09/29/88)

I have been working with Xlib, and am now learning/using XToolkit.

Whenever I realize a command widget, I have to specify (with the
mouse) it's size and location.

I thought setting the XtNx, XtNy, XtNwidth, and XtNheight values
did all that for you.
Does it??

Please tell me what I am doing wrong.

Thanks for your time,
Isa

swick@ATHENA.MIT.EDU (Ralph R. Swick) (09/30/88)

> henever I realize a command widget, I have to specify (with the
> mouse) it's size and location.
>
> I thought setting the XtNx, XtNy, XtNwidth, and XtNheight values
> did all that for you.

Nope.  You have to have a geometry resource on the Shell Widget if
you want the window manager to place the window without user interaction.