diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 11:41:17 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 11:41:17 (GMT) |
commit | 8c02215379f13f88cb1bdb47f9c955869e37af5b (patch) | |
tree | c442506115268ee64927b74f44c80ef24c673388 /generic/tk.decls | |
parent | 400354e97215bad9332f777e4ba7ff9cb04bf4b2 (diff) | |
parent | 49d2a4193d9bc5b38f634f7417ae5b806d0768bb (diff) | |
download | tk-8c02215379f13f88cb1bdb47f9c955869e37af5b.zip tk-8c02215379f13f88cb1bdb47f9c955869e37af5b.tar.gz tk-8c02215379f13f88cb1bdb47f9c955869e37af5b.tar.bz2 |
[Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwin
FossilOrigin-Name: f65a717cb7fbb4407d1c78d0e3226c05a1a24106
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 |