🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sources.bugs
1 messages
1 total messages Started by Michael G. Katzmann Wed, 12 Aug 1992 15:58
xboard/gnuchess problem
#328
Author: Michael G. Katzmann
Date: Wed, 12 Aug 1992 15:58
69 lines
2764 bytes
I have been trying to get 'xboard', the gnuchess frontend for X
working on my HP9000/380 HPUX 8.0 (X11R4) machine.

It works fine up to the point of getting input from the user for a file
name.  It uses a "pop-up" widget. When the popup appears, the following
is output to stderr....


Warning: Actions not found: beginning-of-line, backward-character, 
delete-next-character, end-of-line, forward-character, multiply,
delete-previous-character, newline-and-indent, kill-to-end-of-line,
redraw-display, newline, next-line, newline-and-backup, previous-line,
search, transpose-characters, next-page, kill-selection, insert-selection,
scroll-one-line-up, backward-word, forward-word, insert-file,
kill-to-end-of-paragraph, form-paragraph, previous-page, scroll-one-line-down,
delete-next-word, kill-word, delete-previous-word, backward-kill-word,
beginning-of-file, end-of-file, forward-paragraph, backward-paragraph,
insert-char, focus-in, focus-out, select-start, extend-adjust, extend-end,
extend-start

The code that produces this is:


void
FileNamePopUp(label, proc)
	char *label;
	void (*proc) P((char *name));
{
	Arg args[2];
	Widget popup, dialog;
	Position x, y;
	Dimension bw_width, pw_width;

	fileProc = (XtCallbackProc) proc;

	XtSetArg(args[0], XtNwidth, &bw_width);
	XtGetValues(boardWidget, args, 1);

	XtSetArg(args[0], XtNresizable, True);
	XtSetArg(args[1], XtNwidth, DIALOG_SIZE);

	popup = XtCreatePopupShell("File Name Prompt",
		transientShellWidgetClass, commandsWidget, args, 2);

	XtSetArg(args[0], XtNlabel, label);
	XtSetArg(args[1], XtNvalue, "");

	dialog = XtCreateManagedWidget("dialog", dialogWidgetClass,
		popup, args, 2);

	XawDialogAddButton(dialog, "ok", FileNameCallback, (XtPointer) dialog);
	XawDialogAddButton(dialog, "cancel", FileNameCallback, (XtPointer) dialog);

	XtRealizeWidget(popup);   <========The "error" is reported here


I am a complete novice, when it comes to X windows and widgets, so if
anyone can point me in the right direction I'd be grateful.

Is it a problem in the Xaw/Xmu/Xt libraries?

Please e-mail me your ideas. (To the address below (the reply address is
invariably wrong))

-- 
Michael Katzmann	  >	Broadcast Sports Technology Inc.
~~~~~~~~~~~~~~~~	 <	Crofton, Maryland. U.S.A
Amateur Radio Stations:   >
NV3Z / VK2BEA / G4NYV	 <	opel!vk2bea!michael@uunet.uu.net
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads