Xref: utzoo comp.windows.x:36918 comp.windows.misc:2079 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!news.cs.indiana.edu!ariel.unm.edu!draco.unm.edu!llin From: llin@draco.unm.edu (Lynne Lin) Newsgroups: comp.windows.x,ba.windows.x,comp.windows.misc Subject: help beginner Message-ID: <1991May28.211835.862@ariel.unm.edu> Date: 28 May 91 21:18:35 GMT Organization: University of New Mexico, Albuquerque NM Lines: 22 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