File win/X11/dialogs.c


Included Files


Preprocessor definitions

#define PRESERVE_NO_SYSV

#define max( a, b )


External Variables

toplevel
extern Widget toplevel

Local Variables

okay_accelerators
static const char okay_accelerators[]
Used in: CreateDialog()

cancel_accelerators
static const char cancel_accelerators[]
Used in: CreateDialog()


Global Function CreateDialog()

Widget CreateDialog ( Widget parent, String name, XtCallbackProc okay_callback, XtCallbackProc cancel_callback )
Calls: XtAddCallback(), XtCreateManagedWidget(), XtInstallAccelerators(), XtParseAcceleratorTable(), XtSetKeyboardFocus()
References Variables: cancel_acceleratorswin/X11/dialogs.c
  okay_acceleratorswin/X11/dialogs.c

Global Function GetDialogResponse()

String GetDialogResponse ( Widget w )
Calls: XtGetValues(), XtMalloc(), XtNameToWidget(), strcpy(), strlen()

Global Function SetDialogPrompt()

void SetDialogPrompt ( Widget w, String newprompt )
Calls: XtNameToWidget(), XtSetValues()

Global Function SetDialogResponse()

void SetDialogResponse ( Widget w, String s )
Calls: XawTextSetInsertionPoint(), XtGetValues(), XtNameToWidget(), XtSetValues(), strlen()

Global Function positionpopup()

void positionpopup ( Widget w, boolean bottom )
Calls: XAllocSizeHints(), XFree(), XQueryPointer(), XSetWMNormalHints(), XtDisplay(), XtGetValues(), XtRealizeWidget(), XtScreen(), XtSetValues(), XtUnrealizeWidget(), XtWindow()
References Variables: toplevel