[comp.windows.x] problem with label, command, text widgets

mark@metasoft.UUCP (Mark Zand) (06/28/89)

I am using shell widget (transientShellWidgetClass) as a parent to command, label and
text widgets (this seems to be the only way to force their position). After creation
of all this I may want to change label for command and label widgets and background
pixmap for all 3. To do this I use XtSetValues with proper args. However, I get a
run-time error from X "parent has no geometry manger" (I assume it's manager).
How can I change these properties (label and background pixmap) ?
Response via email to mark%metasoft.uucp@BBN.COM will be espacially appreciated.

converse@EXPO.LCS.MIT.EDU (Donna Converse) (06/30/89)

> I am using shell widget (transientShellWidgetClass) as a parent to command,
> label and text widgets 

A shell widget may have one child widget.

> (this seems to be the only way to force their position).

Try putting a form widget between the command, label, and text widgets.
The form widget allows you to specify child widget placement.
It sounds as though you are doing something similar to a dialog widget;
you may want to consider using a dialog widget.


Donna Converse
converse@expo.lcs.mit.edu