summaryrefslogtreecommitdiffstats
path: root/generic/tk.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-03-31 20:27:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-03-31 20:27:58 (GMT)
commit822a7a11ce042bc2035894295333a5255b84a29c (patch)
tree845216c6b1e9c4b5559920a50af2215672f97504 /generic/tk.decls
parente2c6aa1de60b6c195a39f4dd06ceee1a287f36ea (diff)
downloadtk-core-getrid_setgrid.zip
tk-core-getrid_setgrid.tar.gz
tk-core-getrid_setgrid.tar.bz2
Make Tk_SetSizeHints() usable without tkPlatDecls.h. Clean up much morecore-getrid_setgrid
Diffstat (limited to 'generic/tk.decls')
-rw-r--r--generic/tk.decls15
1 files changed, 6 insertions, 9 deletions
diff --git a/generic/tk.decls b/generic/tk.decls
index ca6f255..3a5a23f 100644
--- a/generic/tk.decls
+++ b/generic/tk.decls
@@ -671,7 +671,7 @@ declare 181 {
declare 182 {
void Tk_UnmapWindow(Tk_Window tkwin)
}
-declare 183 {
+declare 183 {deprecated "Tk_UnsetGrid is a no-op on 9.1. Consider using Tk_SetSizeHints on X11."} {
void Tk_UnsetGrid(Tk_Window tkwin)
}
declare 184 {
@@ -1002,6 +1002,11 @@ declare 271 {
Tcl_Interp *Tk_Interp(Tk_Window tkwin)
}
+# TIP #???
+declare 272 {
+ void Tk_SetSizeHints(Tk_Window tkwin, int minWidth, int maxWidth,
+ int minHeight, int maxHeight)
+}
# ----- BASELINE -- FOR -- 8.6.0 ----- #
@@ -1156,14 +1161,6 @@ declare 16 aqua {
int height, int flags)
}
-################################
-# X11 specific functions
-
-declare 0 x11 {
- void Tk_SetSizeHints(Tk_Window tkwin, int minWidth, int maxWidth,
- int minHeight, int maxHeight)
-}
-
##############################################################################
# Public functions that are not accessible via the stubs table.