📄 list_16_04.c
字号:
/************************************************************************* **** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -