summaryrefslogtreecommitdiffstats
path: root/doc/wm.n
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-06-18 21:58:36 (GMT)
committerdkf <dkf@noemail.net>2004-06-18 21:58:36 (GMT)
commit8241908e7f0db7c7ca278300ae94d38948566a2e (patch)
tree9b03b5d994b774c45832fb52878c33130c72ef73 /doc/wm.n
parentc55b5b5efd110ef1fec4bd048e7eecbb54393105 (diff)
downloadtk-8241908e7f0db7c7ca278300ae94d38948566a2e.zip
tk-8241908e7f0db7c7ca278300ae94d38948566a2e.tar.gz
tk-8241908e7f0db7c7ca278300ae94d38948566a2e.tar.bz2
Added example
FossilOrigin-Name: 94c36282f5d023a7a89361f6f2df3f79cfa6b316
Diffstat (limited to 'doc/wm.n')
-rw-r--r--doc/wm.n15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/wm.n b/doc/wm.n
index 4f575f3..c1d3f44 100644
--- a/doc/wm.n
+++ b/doc/wm.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: wm.n,v 1.12 2003/03/12 00:25:41 mdejong Exp $
+'\" RCS: @(#) $Id: wm.n,v 1.13 2004/06/18 22:07:59 dkf Exp $
'\"
.so man.macros
.TH wm n 8.4 Tk "Tk Built-In Commands"
@@ -479,7 +479,6 @@ Note: it sometimes seems to be necessary to withdraw a
window and then re-map it (e.g. with \fBwm deiconify\fR) to get some
window managers to pay attention to changes in window attributes
such as group.
-
.SH "GEOMETRY MANAGEMENT"
.PP
By default a top-level window appears on the screen in its
@@ -506,7 +505,6 @@ all forms of resizing, including the window's natural size as
well as manual resizes and the \fBwm geometry\fR command.
You can also use the command \fBwm resizable\fR to completely
disable interactive resizing in one or both dimensions.
-
.SH "GRIDDED GEOMETRY MANAGEMENT"
.PP
Gridded geometry management occurs when one of the widgets of an
@@ -540,13 +538,22 @@ in \fBwm minsize\fR, \fBwm maxsize\fR, and \fBwm geometry\fR commands
are treated as grid units rather than pixel units.
Interactive resizing is also carried out in even numbers of grid units
rather than pixels.
-
.SH BUGS
.PP
Most existing window managers appear to have bugs that affect the
operation of the \fBwm\fR command. For example, some changes won't
take effect if the window is already active: the window will have
to be withdrawn and de-iconified in order to make the change happen.
+.SH EXAMPLE
+A fixed-size window that says that it is fixed-size too:
+.CS
+toplevel .fixed
+\fBwm\fR title .fixed "Fixed-size Window"
+\fBwm\fR resizable .fixed 0 0
+.CE
+
+.SH "SEE ALSO"
+toplevel(n), winfo(n)
.SH KEYWORDS
aspect ratio, deiconify, focus model, geometry, grid, group, icon, iconify, increments, position, size, title, top-level window, units, window manager