[comp.windows.x] Want a non-visible widget

uejio@diego.llnl.gov (Jeremy Uejio) (08/24/89)

How do I get a widget to never be mapped?

I want to use the X widgets "object-oriented" features for an
ordinary, non-window data structure.  I tried just setting
core.managed_when_mapped to False and creating my test widget using
XtCreateManagedWidget, but I still got a window display.  (I also set
Resize and Expose to NULL and Realize to XtInheritRealize.  My Initialize 
simple sets the width and height to 10 because the Toolkit complains.)

I also tried XtCreateWidget (so it's not managed?) and got:

X Toolkit Error: Shell widget test has zero width and/or height

What do I need to do to get this widget to be never displayed?


				jeremy