tkBusy.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * tkBusy.h --
  3. *
  4. * This file defines the type of the structure describing a busy window.
  5. *
  6. * Copyright 1993-1998 Lucent Technologies, Inc.
  7. *
  8. * The "busy" command was created by George Howlett. Adapted for
  9. * integration into Tk by Jos Decoster and Donal K. Fellows.
  10. *
  11. * See the file "license.terms" for information on usage and redistribution of
  12. * this file, and for a DISCLAIMER OF ALL WARRANTIES.
  13. */
  14. typedef struct Busy {
  15. Display *display; /* Display of busy window */
  16. Tcl_Interp *interp; /* Interpreter where "busy" command was
  17. * created. It's used to key the searches in
  18. * the window hierarchy. See the "windows"
  19. * command. */
  20. Tk_Window tkBusy; /* Busy window: Transparent window used to
  21. * block delivery of events to windows
  22. * underneath it. */
  23. Tk_Window tkParent; /* Parent window of the busy window. It may be
  24. * the reference window (if the reference is a
  25. * toplevel) or a mutual ancestor of the
  26. * reference window */
  27. Tk_Window tkRef; /* Reference window of the busy window. It is
  28. * used to manage the size and position of the
  29. * busy window. */
  30. int x, y; /* Position of the reference window */
  31. int width, height; /* Size of the reference window. Retained to
  32. * know if the reference window has been
  33. * reconfigured to a new size. */
  34. int menuBar; /* Menu bar flag. */
  35. Tk_Cursor cursor; /* Cursor for the busy window. */
  36. Tcl_HashEntry *hashPtr; /* Used the delete the busy window entry out
  37. * of the global hash table. */
  38. Tcl_HashTable *tablePtr;
  39. Tk_OptionTable optionTable;
  40. } Busy;