diff options
author | chengyemao <chengyemao@noemail.net> | 2004-12-19 18:14:26 (GMT) |
---|---|---|
committer | chengyemao <chengyemao@noemail.net> | 2004-12-19 18:14:26 (GMT) |
commit | 24946969cba5dca6770b5b1ce259db653d9fe501 (patch) | |
tree | 4fca04bc2c06239008fa0ca1cd8b132c5e461202 /win/tkWin.h | |
parent | f740226bb9a057bfc42bc61b605b2b72cd662018 (diff) | |
download | tk-24946969cba5dca6770b5b1ce259db653d9fe501.zip tk-24946969cba5dca6770b5b1ce259db653d9fe501.tar.gz tk-24946969cba5dca6770b5b1ce259db653d9fe501.tar.bz2 |
Bug fix and feature implementation of embedded/embedding Tk
FossilOrigin-Name: d4c1bde89541c5bc1cca5234df95910c824c8bb0
Diffstat (limited to 'win/tkWin.h')
-rw-r--r-- | win/tkWin.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/win/tkWin.h b/win/tkWin.h index 6cad91c..ca7fdc8 100644 --- a/win/tkWin.h +++ b/win/tkWin.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWin.h,v 1.7 2004/12/18 20:21:09 chengyemao Exp $ + * RCS: @(#) $Id: tkWin.h,v 1.8 2004/12/19 18:14:26 chengyemao Exp $ */ #ifndef _TKWIN @@ -30,13 +30,23 @@ /* * The following messages are used to communicate between a Tk toplevel - * and its container window. + * and its container window. A zero should be returned if a Tk container + * is not able to provide a requested service. A Tk container may not be + * able to provide service to all of the following requests at the moment. + * But an embedded Tk window will send out these requests to support + * external Tk container application. */ #define TK_CLAIMFOCUS (WM_USER) /* an embedded window requests to focus */ #define TK_GEOMETRYREQ (WM_USER+1) /* an embedded window requests to change size */ #define TK_ATTACHWINDOW (WM_USER+2) /* an embedded window requests to attach */ #define TK_DETACHWINDOW (WM_USER+3) /* an embedded window requests to detach */ +#define TK_MOVEWINDOW (WM_USER+4) /* an embedded window requests to move */ +#define TK_RAISEWINDOW (WM_USER+5) /* an embedded window requests to raise */ +#define TK_ICONIFY (WM_USER+6) /* an embedded window requests to iconify */ +#define TK_DEICONIFY (WM_USER+7) /* an embedded window requests to deiconify */ +#define TK_WITHDRAW (WM_USER+8) /* an embedded window requests to withdraw */ +#define TK_TITLE (WM_USER+9) /* an embedded window requests to set title */ /* |