GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/****************************************************************************1**2*W xcmds.h XGAP Source Frank Celler3**4**5*Y Copyright 1995-1998, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany6*Y Copyright 1997, Frank Celler, Huerth, Germany7*/8#ifndef _xcmds_h9#define _xcmds_h1011#include "utils.h"121314/****************************************************************************15**1617*T TypeGapWindow . . . . . . . . . . . . . . . . description of a gap window18*/19typedef struct _gap_window20{21Widget top;22Widget box;23Widget viewport;24Widget draw;25Widget text;26Boolean used;27TypeList menus;28Int height;29Int width;30Int line_width;31Int color;32Boolean fast_update;33}34TypeGapWindow;353637/****************************************************************************38**39*T TypeTextSelector . . . . . . . . . . . . description of a text selector40*/41typedef struct _text_selector42{43Widget top;44Widget list;45String * text;46TypeList buttons;47}48TypeTextSelector;495051/****************************************************************************52**53*T TypeArg . . . . . . . . . . . . . . . . . . . . . . . . . . . . arguments54*/55#define MAX_ARG 105657typedef struct _arg58{59TypeGapWindow * win;60TypeTextSelector * sel;61XFontStruct * font;62Int iargs[MAX_ARG];63String sargs[MAX_ARG];64String opts;65}66TypeArg;676869/****************************************************************************70**71*T TypeWindowCommand . . . . . . . . . . . . . . . . description of commands72*/73typedef struct _window_command74{75String name;76String args;77Boolean (*func)( TypeArg* );78}79TypeWindowCommand;808182/****************************************************************************83**84*T TypeMenu . . . . . . . . . . . . . . . . . . . . . . description of menu85*/86typedef struct _menu87{88Widget button;89Widget shell;90TypeList entries;91String name;92String string;93}94TypeMenu;959697/****************************************************************************98**99*T TypeMenuData . . . . . . . . . . . . . . . . . . . . . . . . menu entry100*/101typedef struct _menu_data102{103Widget shell;104Int window;105Int popup;106Int pane;107}108TypeMenuData;109110111/****************************************************************************112**113*T TypePaneData . . . . . . . . . . . . . . . . . . . . . popup menu entry114*/115typedef struct _pane_data116{117Widget shell;118Int popup;119Int pane;120}121TypePaneData;122123124/****************************************************************************125**126127*P Prototypes . . . . . . . . . . . . . . . . . . . . . function prototypes128*/129extern void InitXCMDS( void );130extern void ExitXMCDS( void );131extern void UpdateXCMDS( Int );132extern Boolean GapWindowCmd( String, Int );133134#endif135136137/****************************************************************************138**139140*E xcmds.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here141*/142143144