diff options
author | pspjuth <pspjuth@noemail.net> | 2009-08-19 23:01:59 (GMT) |
---|---|---|
committer | pspjuth <pspjuth@noemail.net> | 2009-08-19 23:01:59 (GMT) |
commit | 3078431950e922c1fd55eaf9a38f7a3f84a8d030 (patch) | |
tree | a4c7c1cd7c558900a4ca247babd4096d872f1f42 /generic/tkInt.h | |
parent | 5b31158c0d3cf3bf601270f83f0fb00031c10045 (diff) | |
download | tk-3078431950e922c1fd55eaf9a38f7a3f84a8d030.zip tk-3078431950e922c1fd55eaf9a38f7a3f84a8d030.tar.gz tk-3078431950e922c1fd55eaf9a38f7a3f84a8d030.tar.bz2 |
Give an error if grid and pack are used in the same master. [Patch 2475855]
FossilOrigin-Name: b4791724570e09eac4ca86c49be39bc2b5783bc0
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 430d51e..958695e 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.106 2009/07/02 10:34:32 patthoyts Exp $ + * RCS: $Id: tkInt.h,v 1.107 2009/08/19 23:02:00 pspjuth Exp $ */ #ifndef _TKINT @@ -851,6 +851,7 @@ typedef struct TkWindow { int minReqWidth; /* Minimum requested width. */ int minReqHeight; /* Minimum requested height. */ + char *geometryMaster; } TkWindow; /* @@ -1164,6 +1165,11 @@ MODULE_SCOPE int Tk_WmObjCmd(ClientData clientData, Tcl_Interp *interp, MODULE_SCOPE int Tk_GetDoublePixelsFromObj(Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, double *doublePtr); +MODULE_SCOPE int TkSetGeometryMaster(Tcl_Interp *interp, + Tk_Window tkwin, const char *master); +MODULE_SCOPE void TkFreeGeometryMaster(Tk_Window tkwin, + const char *master); + MODULE_SCOPE void TkEventInit(void); MODULE_SCOPE void TkRegisterObjTypes(void); MODULE_SCOPE int TkCreateMenuCmd(Tcl_Interp *interp); |