[comp.windows.x.motif] Creating an invisible window

db3l@ibm.com (David Bolen) (10/23/90)

I'm trying to find out if it is possible to create a normal top-level
shell in an invisible state, and then map the window at a later time.  I
have a hierarchy of TopLevelShell->MainWindow->DrawingArea for my
application.  I've tried setting the XmNmappedWhenManaged resource for
all of the widgets (including the shell) to False, but whenever I realize
the shell, and the MainWindow has been managed with XtManageChild, mwm puts
up the shell decorations, even though my MainWindow and DrawingArea are,
in fact, unmapped.

I guess what I need to find out is if there is any way to let the window
that mwm reparents my shell with in order to provide decorations obey my
XmNmappedWhenManaged setting, and only be mapped when my shell and child
widgets are mapped as well.  Is this perhaps a bug in Motif (I'm using 1.0,
not 1.1).

Thanks for any information.

-- David
--
/-----------------------------------------------------------------------\
 \                             David Bolen                             /
  |    Laboratory Automation, IBM Thomas J. Watson Research Center    |
 /              P.O. Box 218, Yorktown Heights, NY  10598              \
| - - - - - - - - - - - -  M i t h r a n d i r  - - - - - - - - - - - - |
| Internet : db3l@ibm.com                    | Bitnet : db3l@yktvmv     |
| Usenet   : uunet!bywater!arnor!larios!db3l | Phone  : (914) 945-1940  |
\-----------------------------------------------------------------------/