[ba.windows.x] help beginner

llin@draco.unm.edu (Lynne Lin) (05/29/91)

I am trying to learn how to program in X and the only book I have is the "X 
window System: C library and Protocaol refrerence" by Gettys, Scheifler, Newman
This is my first exposure to X and there are some terms which I do not 
understand and the book does not define them, and I wonder if anyone out there
would help me.  Thanks in advance

1) what are  these attributes do : exposure, visibillity, depth, gravity? I
think I have a slightly idea of what they mean but I just don't when to use
them.

2) to display a message in a window that I just created I use XDrawImageString()
but that does not seem to work.

3) I am confusing between the two types Pixmap and GC.  Inorder to display any
graphic drawing I need to create XCreateGC  () right? Please correct me if I
am wrong.  Do I need to use the XCreatePixmap () with XCreateGC () inorder to
have a graphic window?

PS: Please mail to hsteve@hydra.unm.edu because I do not have an account, and
I have permission to use the "hsteve" account for the Summer since she is on
vacation.  Thanks again