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 _XtToggle_h
- #define _XtToggle_h
-
- /***********************************************************************
- *
- * Toggle Widget (subclassed from the Command widget); callback is
- * ignored
- *
- ***********************************************************************/
-
- #include <X11/CommandP.h>
-
- /* Resources:
-
- Name Class RepType Default Value
- ---- ----- ------- -------------
- background Background pixel White
- border BorderColor pixel Black
- borderWidth BorderWidth int 0
- cursor Cursor Cursor hand2
- destroyCallback Callback Pointer NULL
- font Font FontStruct fixed
- foreground Foreground pixel Black
- height Height int text height
- highlightThickness Thickness int 2
- insensitiveBorder Insensitive Pixmap Gray
- internalHeight Height int 2
- internalWidth Width int 4
- justify Justify Justify Center
- label Label String NULL
- state State State ToggleOn
- mappedWhenManaged MappedWhenManaged Boolean True
- sensitive Sensitive Boolean True
- width Width int text width
- x Position int 0
- y Position int 0
-
- */
-
- #ifndef _XtState_e
- #define _XtState_e
-
- typedef enum {
- XtToggleOff = 0, /* toggle button is off & unset */
- XtToggleOn /* toggle button is on & set */
- } XtState;
- #endif _XtState_e
-
- #define XtNstate "state"
-
- extern WidgetClass toggleWidgetClass;
-
- typedef struct _ToggleClassRec *ToggleWidgetClass;
- typedef struct _ToggleRec *ToggleWidget;
-
- #endif _XtToggle_h
- /* DON'T ADD STUFF AFTER THIS */
-