diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-26 11:41:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-26 11:41:17 (GMT) |
commit | 45fa85f33f94e501ba96c550861e298df9a8a6ad (patch) | |
tree | c442506115268ee64927b74f44c80ef24c673388 /generic/tk.decls | |
parent | 021238ae28d80332aca5ce297082885bf0e798d5 (diff) | |
parent | 6953f9dc57f63fe39701cd4e62ad03259e36c371 (diff) | |
download | tk-45fa85f33f94e501ba96c550861e298df9a8a6ad.zip tk-45fa85f33f94e501ba96c550861e298df9a8a6ad.tar.gz tk-45fa85f33f94e501ba96c550861e298df9a8a6ad.tar.bz2 |
[Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwin
Diffstat (limited to 'generic/tk.decls')
-rw-r--r-- | generic/tk.decls | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/generic/tk.decls b/generic/tk.decls index 2671421..897d84a 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -1087,7 +1087,28 @@ interface tkPlat ################################ # Unix specific functions -# (none) +# + +declare 0 unix { + Window Tk_AttachHWND(Tk_Window tkwin, void *hwnd) +} +declare 1 unix { + void *Tk_GetHINSTANCE(void) +} +declare 2 unix { + void *Tk_GetHWND(Window window) +} +declare 3 unix { + Tk_Window Tk_HWNDToWindow(void *hwnd) +} +declare 4 unix { + void Tk_PointerEvent(void *hwnd, int x, int y) +} +declare 5 unix { + int Tk_TranslateWinEvent(void *hwnd, + unsigned int message, int wParam, int lParam, int *result) +} + ################################ # Windows specific functions |