Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

610987 views
1
/****************************************************************************
2
**
3
*W popdial.h XGAP source Frank Celler
4
**
5
**
6
*Y Copyright 1995-1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
7
*Y Copyright 1997, Frank Celler, Huerth, Germany
8
**
9
** This file contains functions for popping up dialogs.
10
*/
11
#ifndef _popdial_h
12
#define _popdial_h
13
14
#include "utils.h" /* utility functions */
15
16
17
/****************************************************************************
18
**
19
20
*D PD_YES . . . . . . . . . . . . . . . . . . . . . . . . exit button "yes"
21
*D PD_NO . . . . . . . . . . . . . . . . . . . . . . . . exit button "no"
22
*D PD_OK . . . . . . . . . . . . . . . . . . . . . . . . exit button "OK"
23
*D PD_CANCEL . . . . . . . . . . . . . . . . . . . . exit button "cancel"
24
*D PD_ABORT . . . . . . . . . . . . . . . . . . . . . . exit button "abort"
25
*D PD_RETRY . . . . . . . . . . . . . . . . . . . . . . exit button "retry"
26
*D PD_APPEND . . . . . . . . . . . . . . . . . . . . exit button "append"
27
*D PD_OVERWRITE . . . . . . . . . . . . . . . . . . exit button "overwrite"
28
*/
29
#define PD_YES 0x0001
30
#define PD_NO 0x0002
31
#define PD_OK 0x0004
32
#define PD_CANCEL 0x0008
33
#define PD_ABORT 0x0010
34
#define PD_RETRY 0x0020
35
#define PD_APPEND 0x0040
36
#define PD_OVERWRITE 0x0080
37
#define PD_LAST PD_OVERWRITE
38
39
40
/****************************************************************************
41
**
42
*T TypePopupDialog . . . . . . . . . . . . . . . pointer to dialog structure
43
*/
44
typedef struct _popup_dialog
45
{
46
Widget topLevel;
47
Widget popupShell;
48
Widget dialog;
49
XtAppContext context;
50
Int result;
51
Int button;
52
Int defaultButton;
53
Widget buttons[PD_LAST+1];
54
}
55
* TypePopupDialog;
56
57
58
/****************************************************************************
59
**
60
*P Prototypes . . . . . . . . . . . prototypes of public gap text functions
61
*/
62
extern TypePopupDialog CreatePopupDialog(
63
XtAppContext,
64
Widget,
65
String,
66
Int,
67
Int,
68
Pixmap );
69
70
extern Int PopupDialog(
71
TypePopupDialog,
72
String,
73
String,
74
String* );
75
76
extern void PopupDialogBrokenWM(
77
void );
78
79
#endif
80
81
82
/****************************************************************************
83
**
84
85
*E popdial.h . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here
86
*/
87
88