motif.h

来自「`smith.motif.tar.Z includes the source c」· C头文件 代码 · 共 61 行

H
61
字号
/**** motif.h ****//********************************************************************This module provides declarations for miscellaneous functions anddata structures.********************************************************************/#ifndef _motif_h#define _motif_h#include <stdio.h>#include <Xm/Xm.h>#include <Xm/CascadeB.h>#include <Xm/PushB.h>#include <Xm/ToggleB.h>#include <Xm/Label.h>#include <Xm/RowColumn.h>#include <Xm/Separator.h>#include <Xm/SashP.h>/*Constants:*/#define menu_TITLE		-1001#define menu_SEPARATOR	-1002#define menu_SUBMENU	-1003#define menu_ENTRY		-1004#define menu_TOG_ENTRY	-1005#define menu_END		-1006/*Public data structures:*/typedef struct _menu_entry {	int type;	char *label;				/* can be NULL */	char *instance_name;	void (*callback)();			/* can be NULL */	XtPointer data;				/* can be NULL */	struct _menu_entry *menu;	/* can be NULL */	Widget id;					/* RETURN */} menu_entry;/*Public functions:*/extern void create_menus();extern void remove_sash_traversal();#endif /* _motif_h */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?