⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_14_15.c

📁 This source code has been tested under OpenWindows 2.0, Sun s X11/NeWS server. For Xlib programs th
💻 C
字号:
/*************************************************************************                                                                    ****  listing_14_15.c                                                   ****                                                                    ****  XmCommand Example.                                                ****                                                                    *************************************************************************/#include <Xm/Command.h>Widget	appshell,			/* Application Shell	      */	the_cb;				/* The command box            */Arg	arglist[16];			/* Used to set resources      */void main( argc, argv )    int     argc;    char    *argv[];{    appshell = XtInitialize( argv[0], "Listing_14_15", NULL, 0, &argc, argv );    the_cb = XmCreateCommand( appshell, "TheCmd", NULL, 0 );    XtManageChild( the_cb );    XtRealizeWidget( appshell );    XtMainLoop();}

⌨️ 快捷键说明

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