tkMacOSX.h 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * tkMacOSX.h --
  3. *
  4. * Declarations of Macintosh specific exported variables and procedures.
  5. *
  6. * Copyright (c) 1995-1997 Sun Microsystems, Inc.
  7. * Copyright 2001-2009, Apple Inc.
  8. * Copyright (c) 2005-2009 Daniel A. Steffen <das@users.sourceforge.net>
  9. *
  10. * See the file "license.terms" for information on usage and redistribution
  11. * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  12. */
  13. #ifndef _TKMAC
  14. #define _TKMAC
  15. #ifndef _TK
  16. #include "tk.h"
  17. #endif
  18. /*
  19. * Structures and function types for handling Netscape-type in process
  20. * embedding where Tk does not control the top-level
  21. */
  22. typedef int (Tk_MacOSXEmbedRegisterWinProc) (long winID, Tk_Window window);
  23. typedef void* (Tk_MacOSXEmbedGetGrafPortProc) (Tk_Window window);
  24. typedef int (Tk_MacOSXEmbedMakeContainerExistProc) (Tk_Window window);
  25. typedef void (Tk_MacOSXEmbedGetClipProc) (Tk_Window window, void *rgn);
  26. typedef void (Tk_MacOSXEmbedGetOffsetInParentProc) (Tk_Window window, void *ulCorner);
  27. #include "tkPlatDecls.h"
  28. #endif /* _TKMAC */