Article View: comp.windows.x
Article #8131RE: Problem with Xlib
From: Patrick L. Mahan
Date: Tue, 15 Sep 1992 17:40
Date: Tue, 15 Sep 1992 17:40
29 lines
1770 bytes
1770 bytes
# #I'm suddenly into XLIB programming. I'm getting a simple #graph out, but I would like to control the size of the window #by a statement like *Xlib*Geometry: 300x300+0+0 in my #.Xdefaults file . I would like this to override the WIDTH and #HEIGHT values I supply in the XCreateSimpleWindow call, but this #is not happening when I print out the values of width, height #returned by XGetGeometry. Instead the values returned are what #I specify in my XCreateSimpleWindow call. What do I need to do #to have the window size specified in the .Xdefaults file #override that in the program. I don't think there is a #mistake in my .Xdefaults file, the name of the application is #Xlib as specified in a call to XSetStandardProperties. I'm #using Openwindows 3. THANKS. # This is becauses resouces are NOT automatically handled for you at the Xlib level. Resouces where basically developed for use with Xt based applications but the routines where moved into the Xlib to help with some problems with the error database. You will need to explicitly call the Xrm routines yourself to access these values. Patrick L. Mahan --- TGV Window Washer ------------------------------- Mahan@TGV.COM --------- Waking a person unnecessarily should not be considered - Lazarus Long a capital crime. For a first offense, that is From the Notebooks of Lazarus Long
Technical Details
Message-ID:
<920915104001.4a20014b@TGV.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines From: mahan@TGV.COM (Patrick L. Mahan) Subject: RE: Problem with Xlib Message-ID: <920915104001.4a20014b@TGV.COM> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: Tue, 15 Sep 1992 17:40:01 GMT Lines: 29