Mailbox.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* $XConsortium: Mailbox.h,v 1.21 94/04/17 20:43:27 rws Exp $ */
  2. /*
  3. Copyright (c) 1988 X Consortium
  4. Permission is hereby granted, free of charge, to any person obtaining
  5. a copy of this software and associated documentation files (the
  6. "Software"), to deal in the Software without restriction, including
  7. without limitation the rights to use, copy, modify, merge, publish,
  8. distribute, sublicense, and/or sell copies of the Software, and to
  9. permit persons to whom the Software is furnished to do so, subject to
  10. the following conditions:
  11. The above copyright notice and this permission notice shall be included
  12. in all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  14. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  15. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  16. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. OTHER DEALINGS IN THE SOFTWARE.
  20. Except as contained in this notice, the name of the X Consortium shall
  21. not be used in advertising or otherwise to promote the sale, use or
  22. other dealings in this Software without prior written authorization
  23. from the X Consortium.
  24. */
  25. #ifndef _XawMailbox_h
  26. #define _XawMailbox_h
  27. /*
  28. * Mailbox widget; looks a lot like the clock widget, don't it...
  29. */
  30. /* resource names used by mailbox widget that aren't defined in StringDefs.h */
  31. #ifndef _XtStringDefs_h_
  32. #define XtNupdate "update"
  33. #endif
  34. /* command to exec */
  35. #define XtNcheckCommand "checkCommand"
  36. #define XtNonceOnly "onceOnly"
  37. /* Int: volume for bell */
  38. #define XtNvolume "volume"
  39. #define XtNfullPixmap "fullPixmap"
  40. #define XtNfullPixmapMask "fullPixmapMask"
  41. #define XtNemptyPixmap "emptyPixmap"
  42. #define XtNemptyPixmapMask "emptyPixmapMask"
  43. #define XtNflip "flip"
  44. #define XtNshapeWindow "shapeWindow"
  45. #define XtCCheckCommand "CheckCommand"
  46. #define XtCVolume "Volume"
  47. #define XtCPixmapMask "PixmapMask"
  48. #define XtCFlip "Flip"
  49. #define XtCShapeWindow "ShapeWindow"
  50. /* structures */
  51. typedef struct _MailboxRec *MailboxWidget; /* see MailboxP.h */
  52. typedef struct _MailboxClassRec *MailboxWidgetClass; /* see MailboxP.h */
  53. extern WidgetClass mailboxWidgetClass;
  54. #endif /* _XawMailbox_h */
  55. /* DON'T ADD STUFF AFTER THIS #endif */