home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
n
/
newmarch.zip
/
ARROW.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-08
|
2KB
|
48 lines
/* Author: $Author: jan $
* File: $Source: /usr/usrs/jan/desktop/X_Book.boo/programs/RCS/arrow.c,v $
* Date: $Date: 1992/09/09 00:09:46 $
* Revision: $Revision: 1.1 $
*/
#include "copyright.h"
#include <Xm/ArrowB.h>
char Class_name[] = "Arrow";
main(argc, argv)
int argc;
char **argv;
{
Widget toplevel, arrow_widget;
/* Initialize the intrinsics with
a toplevel widget
*/
toplevel = XtInitialize (NULL, /* application
name */
Class_name, /* class name */
NULL, /* options */
0, /* number of
options */
&argc, argv); /* command line
args */
/* Create an arrow widget with the
toplevel as manager */
arrow_widget = XmCreateArrowButton (
toplevel, /* parent */
"an_arrow", /* name of
widget*/
NULL, /* resource
arguments */
0); /* number of
args */
XtManageChild (arrow_widget);
/* display all of the widgets */
XtRealizeWidget (toplevel);
/* enter the main processing loop */
XtMainLoop ();
}