[comp.windows.x] Novice question about windows.

DAVOLI@RICE.BITNET (Russell J. Davoli) (11/23/88)

  An associate and I are trying to get up to speed on X and we're up against
the lack of clear documentation and examples.  We've been having trouble
with the basics -- here's our porblem:

We want to show a window on the screen, so we
    1. use XCreateWindow to make the window record
    2. use XMap

DAVOLI@RICE.BITNET (Russell J. Davoli) (11/23/88)

  This is a repost of an abortive attempt on the question earlier (sorry for
any inconvenience):

  An associate and I are trying to get up to speed on X and we're up against
the lack of clear documentation and examples.  We've been having trouble
with the basics -- here's our porblem:

We want to show a window on the screen, so we
    1. use XCreateWindow to make the window record.
    2. use XMapWindow to map the window to the display.

We know these are necesssary steps, but we have found that the window doesn't
actually show up on the screen until something is actually drawn into it
(after setting up the graphics context).  Is this really how things work
is there something we're missing (which is likely.)

This seems like a really stupid question but we'd appreciate any help.
Thanks in advance!

==============================================================================
Russell J. Davoli
davoli@rice.bitnet