listing_5_7.c

来自「This source code has been tested under O」· C语言 代码 · 共 30 行

C
30
字号
/*************************************************************************                                                                    ****  listing_5_7.c                                                     ****                                                                    ****  This program demonstrates use of a pixmap label.                  ****                                                                    *************************************************************************/#include <Xm/Label.h>			/* Definitions for XmLabel    					   (includes Xm.h)            */Widget	appshell,			/* Application Shell	      */	the_label;			/* The one and only label     */void main( argc, argv )    int     argc;    char    *argv[];{    appshell = XtInitialize( argv[0], "Listing_5_7", NULL, 0, &argc, argv );    the_label = XmCreateLabel( appshell, "TheLabel", NULL, 0 );    XtManageChild( the_label );    XtRealizeWidget( appshell );    XtMainLoop();}

⌨️ 快捷键说明

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