|
|
1.1 ! root 1: /* $Header: Dialog.h,v 1.1 87/09/11 07:57:32 toddb Exp $ */ ! 2: /* ! 3: * sccsid: @(#)Dialog.h 1.7 5/18/87 ! 4: */ ! 5: /* ! 6: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. ! 7: * ! 8: * All Rights Reserved ! 9: * ! 10: * Permission to use, copy, modify, and distribute this software and its ! 11: * documentation for any purpose and without fee is hereby granted, ! 12: * provided that the above copyright notice appear in all copies and that ! 13: * both that copyright notice and this permission notice appear in ! 14: * supporting documentation, and that the name of Digital Equipment ! 15: * Corporation not be used in advertising or publicity pertaining to ! 16: * distribution of the software without specific, written prior permission. ! 17: * ! 18: * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 19: * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 20: * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 21: * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 22: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 23: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 24: * SOFTWARE. ! 25: */ ! 26: ! 27: ! 28: /* NOTE: THIS IS NOT A WIDGET! Rather, this is an interface to a widget. ! 29: It implements policy, and gives a (hopefully) easier-to-use interface ! 30: than just directly making your own form. */ ! 31: ! 32: #ifndef _Dialog_h ! 33: #define _Dialog_h ! 34: ! 35: #define XtNgrabFocus "grabFocus" ! 36: #define XtCGrabFocus "GrabFocus" ! 37: ! 38: extern Window XtDialogCreate(); ! 39: /* parent, description, valueinit, args, argCount */ ! 40: /* Window parent; */ ! 41: /* char *description; */ ! 42: /* char *valueinit; */ ! 43: /* ArgList args; */ ! 44: /* int argCount; */ ! 45: ! 46: extern void XtDialogAddButton(); /* dpy, window, name, function, param */ ! 47: /* Display *dpy; */ ! 48: /* Window window; */ ! 49: /* char *name; */ ! 50: /* void (*function)(); */ ! 51: /* caddr_t param; */ ! 52: ! 53: extern char *XtDialogGetValueString(); /* dpy, window */ ! 54: /* Display *dpy; */ ! 55: /* Window window; */ ! 56: ! 57: #endif _Dialog_h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.