🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37445

X11R4 Dialog Widget Question

#37445
From: Thomas A. Napoli
Date: Tue, 27 Feb 1990 23:07
29 lines
1680 bytes
I am running X11R4 on a Sun 3/60, SunOS 4.0.3.  I am trying to upgrade
an application that uses the Athena widget set.  I can't seem to get a
Dialog widget that displays a default string value to work.  An X
protocol error occurs when I issue the following call:

       dialog = XtCreateManagedWidget ( "dialog", dialogWidgetClass,
			root_wid, dialogArgs, XtNumber (dialogArgs) );

This call (and the setup of dialogArgs) works when the "value" resource
is set to NULL, but not when I set the resource to allow user input.

The X Protocol message:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  38 (X_QueryPointer)
  Minor opcode of failed request:  0
  Resource id in failed request:  0x0
  Serial number of failed request:  205
  Current serial number in output stream:  205

Can someone tell me what has changed since R3 WRT the Dialog Widget?
The release notees say that no changes will be necessary for the Dialog
widget, but perhaps, it ain't necessarily so.

-------------------------------------------------------------------
	Tom Napoli			UUCP : ...!kodak!aviary!tan
					  or   tan@ssd.kodak.com
				    	Voice: (716) 253-7795
Technical Details
Message-ID: <2474@ektools.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!kodak!ektools!tan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!kodak!ektools!tan
From: tan@ektools.UUCP (Thomas A. Napoli)
Newsgroups: comp.windows.x
Subject: X11R4 Dialog Widget Question
Keywords: X11, Athena, Dialog
Message-ID: <2474@ektools.UUCP>
Date: 27 Feb 90 23:07:32 GMT
Sender: tan@ektools (Thomas A. Napoli)
Reply-To: tan@ektools.UUCP (Thomas A. Napoli)
Organization: Eastman Kodak, Dept. 47, Rochester NY
Lines: 29