Article View: comp.windows.x
Article #25238menu question
From: Douglas.Tomm
Date: Mon, 23 Mar 1987 05:59
Date: Mon, 23 Mar 1987 05:59
15 lines
1157 bytes
1157 bytes
I'm new to x programming, so please forgive what may seem a moronic question. I'm writing an application in which I want to use menus. For some reason, the (only) call to XMenuCreate returns NULL. The exact call to this function is if ((mymenu = XMenuCreate(RootWindow, argv[0])) == NULL) [bail out of program] The man page on menus says that a connection to the x server must be open. I tried putting a call to XGrabServer() before XMenuCreate, but that didn't help. How can I get it to work? Also, what exactly is meant by the term 'x server'? thanx in advance, doug tomm
Technical Details
Message-ID:
<8703230559.AA08110@ATHENA>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ames!ucbcad!ucbvax!A.GP.CS.CMU.EDU!Douglas.TommShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ames!ucbcad!ucbvax!A.GP.CS.CMU.EDU!Douglas.Tomm From: Douglas.Tomm@A.GP.CS.CMU.EDU.UUCP Newsgroups: comp.windows.x Subject: menu question Message-ID: <8703230559.AA08110@ATHENA> Date: Mon, 23-Mar-87 00:59:35 EST Article-I.D.: ATHENA.8703230559.AA08110 Posted: Mon Mar 23 00:59:35 1987 Date-Received: Tue, 24-Mar-87 03:47:17 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 15