Article View: comp.windows.x
Article #8125Problem with Xlib
From: Peter_Imants_Buttuls
Date: Tue, 15 Sep 1992 15:43
Date: Tue, 15 Sep 1992 15:43
16 lines
1230 bytes
1230 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. Peter Buttuls, University of Alberta, Edmonton, Canada e-mail:(userpib@mts.ucs.ualberta.ca)
Technical Details
Message-ID:
<3228745@mts.ucs.ualberta.ca>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: Peter_Imants_Buttuls@mts.ucs.ualberta.ca Subject: Problem with Xlib Message-ID: <3228745@mts.ucs.ualberta.ca> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: Tue, 15 Sep 1992 15:43:52 GMT Lines: 16