home *** CD-ROM | disk | FTP | other *** search
- /*
- * Systems Sciences Laboratory, Webster Research Center
- *
- * Copyright (c) 1988 Xerox Corporation. All rights reserved.
- *
- * Copyright protection claimed includes all forms and matters of copyrightable
- * material and information now allowed by statutory or judicial lay or
- * herinafter granted, including without limitation, material generated from
- * the software programs which are displayed on the screen such as icons,
- * screen display looks, etc.
- */
-
-
- #ifndef _option_h
- #define _option_h
-
- /***********************************************************************
- *
- * Option Widget (subclassed of Forms widget)
- *
- ***********************************************************************/
-
- /* Parameters:
-
- Name Class RepType Default Value
- ---- ----- ------- -------------
- background Background pixel White
- border BorderColor pixel Black
- borderWidth BorderWidth int 1
- destroyCallback Callback Pointer NULL
- height Height int 0
- label Label String NULL
- mappedWhenManaged MappedWhenManaged Boolean True
- maximumLength Max int 256
- sensitive Sensitive Boolean True
- orientation orientation orientation XtorientVertical
- width Width int 0
- x Position int 0
- y Position int 0
-
- */
-
-
- #include <X11/Form.h>
-
-
- #define XtNorientation "orientation"
-
- typedef struct _OptionClassRec *OptionWidgetClass;
- typedef struct _OptionRec *OptionWidget;
-
- extern WidgetClass optionWidgetClass;
-
- extern void XtOptionAddOption(); /* parent, name, set */
- /* Wiget parent; */
- /* char *name; */
- /* Boolean set; */
- /* of all possible options only one may be selected
- at a time */
-
- extern int XtOptionGetSelection(); /* widget */
- /* Widget w; */
- /* returns the index of the currently selected
- option; numbered from 1 and in the sequence
- of creation */
-
- #endif _option_h
- /* DON'T ADD STUFF AFTER THIS #endif */
-