GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/****************************************************************************1**2*W popdial.h XGAP source Frank Celler3**4**5*Y Copyright 1995-1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany6*Y Copyright 1997, Frank Celler, Huerth, Germany7**8** This file contains functions for popping up dialogs.9*/10#ifndef _popdial_h11#define _popdial_h1213#include "utils.h" /* utility functions */141516/****************************************************************************17**1819*D PD_YES . . . . . . . . . . . . . . . . . . . . . . . . exit button "yes"20*D PD_NO . . . . . . . . . . . . . . . . . . . . . . . . exit button "no"21*D PD_OK . . . . . . . . . . . . . . . . . . . . . . . . exit button "OK"22*D PD_CANCEL . . . . . . . . . . . . . . . . . . . . exit button "cancel"23*D PD_ABORT . . . . . . . . . . . . . . . . . . . . . . exit button "abort"24*D PD_RETRY . . . . . . . . . . . . . . . . . . . . . . exit button "retry"25*D PD_APPEND . . . . . . . . . . . . . . . . . . . . exit button "append"26*D PD_OVERWRITE . . . . . . . . . . . . . . . . . . exit button "overwrite"27*/28#define PD_YES 0x000129#define PD_NO 0x000230#define PD_OK 0x000431#define PD_CANCEL 0x000832#define PD_ABORT 0x001033#define PD_RETRY 0x002034#define PD_APPEND 0x004035#define PD_OVERWRITE 0x008036#define PD_LAST PD_OVERWRITE373839/****************************************************************************40**41*T TypePopupDialog . . . . . . . . . . . . . . . pointer to dialog structure42*/43typedef struct _popup_dialog44{45Widget topLevel;46Widget popupShell;47Widget dialog;48XtAppContext context;49Int result;50Int button;51Int defaultButton;52Widget buttons[PD_LAST+1];53}54* TypePopupDialog;555657/****************************************************************************58**59*P Prototypes . . . . . . . . . . . prototypes of public gap text functions60*/61extern TypePopupDialog CreatePopupDialog(62XtAppContext,63Widget,64String,65Int,66Int,67Pixmap );6869extern Int PopupDialog(70TypePopupDialog,71String,72String,73String* );7475extern void PopupDialogBrokenWM(76void );7778#endif798081/****************************************************************************82**8384*E popdial.h . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here85*/868788