list_16_04.c
来自「This source code has been tested under O」· C语言 代码 · 共 31 行
C
31 行
/************************************************************************* **** listing_16_04.c **** **** Example of program instance names. This program simply creates a **** label. Its resource file, however, contains resources for both **** its class name ("Listing_16_04") and an instance name ("16_04"). **** *************************************************************************/#include <Xm/Label.h>Widget appshell, /* Application Shell */ the_lbl; /* The Label */void main( argc, argv ) int argc; char *argv[];{ appshell = XtInitialize( argv[0], "Listing_16_04", NULL, 0, &argc, argv ); the_lbl = XmCreateLabel( appshell, "TheLbl", NULL, 0 ); XtManageChild( the_lbl ); XtRealizeWidget( appshell ); XtMainLoop();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?