[comp.windows.x] Two simple Athena questions

zevpeter@aerospace.aero.org (ze'ev peter) (07/21/90)

OK, I give up.  Can anyone help me with these two seemingly simple
questions?

1.  When I use a Viewport widget, I get some kind of error about the clip
    width/length being zero.  Huh?

2.  I have an application with many different movable windows.  I have been
    defining them all to be a popup widget and then using an Xtpopup() to
    "realize" them.

    However, I've heard that it is good coding practice to make a separate
    shell for each window.  So each function which creates a separate
    window now has a call to make a toplevel widget with XtAppCreateShell().
    (The toplevel widget is then realized at the end of each function call.)

    However, both XtAppCreateShell() and XtCreateApplicationShell() bomb
    and the debugger says they croaked in Create.c--whatever routine that is.  
    Any suggestions?

    Thanks in advance!!