2 '\" Copyright (c) 2006 Joe English
4 '\" See the file "license.terms" for information on usage and redistribution
5 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7 .TH ttk::sizegrip n 8.5 Tk "Tk Themed Widget"
11 ttk::sizegrip \- Bottom-right corner resize widget
13 \fBttk::sizegrip\fR \fIpathName \fR?\fIoptions\fR?
17 A \fBttk::sizegrip\fR widget (also known as a \fIgrow box\fR)
18 allows the user to resize the containing toplevel window
19 by pressing and dragging the grip.
26 Sizegrip widgets support the standard
27 \fBcget\fR, \fBconfigure\fR, \fBidentify\fR, \fBinstate\fR, and \fBstate\fR
28 methods. No other widget methods are used.
29 .SH "PLATFORM-SPECIFIC NOTES"
31 On Mac OSX, toplevel windows automatically include a built-in
33 Adding a \fBttk::sizegrip\fR there is harmless, since
34 the built-in grip will just mask the widget.
39 pack [ttk::frame $top.statusbar] \-side bottom \-fill x
40 pack [\fBttk::sizegrip\fR $top.statusbar.grip] \-side right \-anchor se
45 grid [\fBttk::sizegrip\fR $top.statusbar.grip] \e
46 \-row $lastRow \-column $lastColumn \-sticky se
47 # ... optional: add vertical scrollbar in $lastColumn,
48 # ... optional: add horizontal scrollbar in $lastRow
52 If the containing toplevel's position was specified
53 relative to the right or bottom of the screen
55 .QW "\fBwm geometry ... \fIw\fBx\fIh\fB\-\fIx\fB\-\fIy\fR"
57 .QW "\fBwm geometry ... \fIw\fBx\fIh\fB+\fIx\fB+\fIy\fR" ),
58 the sizegrip widget will not resize the window.
60 \fBttk::sizegrip\fR widgets only support
65 The class name for a \fBttk::sizegrip\fP is \fBTSizegrip\fP.
67 \fBTSizegrip\fP styling options configurable with \fBttk::style\fP
70 \fB\-background\fP \fIcolor\fP
72 Some options are only available for specific themes.
74 See the \fBttk::style\fP manual page for information on how to configure
79 widget, sizegrip, grow box