diff options
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 65715c4..7960d0c 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -1075,7 +1075,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 |