Sha256: 1c4d6f82fee670337dce3e4a5d7fecddaaa1422149d2d683c29822e30428cf16

Contents?: true

Size: 1.61 KB

Versions: 6

Compression:

Stored size: 1.61 KB

Contents

'\" sizegrip.n,v 1.5 2007/10/16 00:59:23 jenglish Exp
'\"
'\" Copyright (c) 2006 Joe English
'\"
.so man.macros
.TH sizegrip n 0.8 tile "Tile Widget Set"
.BS
.SH NAME
ttk::sizegrip \- A silly widget
.SH SYNOPSIS
\fBttk::sizegrip\fR \fIpathName \fR?\fIoptions\fR?
.BE
.SH DESCRIPTION
A \fBsizegrip\fR widget (also known as a \fIgrow box\fR)
allows the user to resize the containing toplevel window
by pressing and dragging the grip.
.SO
\-class	\-cursor	\-state	\-style
\-takefocus
.SE
.SH "WIDGET COMMAND"
Sizegrip widgets support the standard
\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
methods.  No other widget methods are used.
.SH "PLATFORM-SPECIFIC NOTES"
On Mac OSX, toplevel windows automatically include a built-in
size grip by default.
Adding an \fBttk::sizegrip\fR there is harmless, since
the built-in grip will just mask the widget.
.SH EXAMPLES
.CS
# Using pack:
pack [ttk::frame $top.statusbar] -side bottom -fill x
pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se

# Using grid:
grid [ttk::sizegrip $top.statusbar.grip] \
    -row $lastRow -column $lastColumn -sticky se
# ... optional: add vertical scrollbar in $lastColumn,
# ... optional: add horizontal scrollbar in $lastRow
.CE
.SH "BUGS"
If the containing toplevel's position was specified
relative to the right or bottom of the screen
(e.g., \fB[wm geometry ... \fIw\fBx\fIh\fB-\fIx\fB-\fIy\fB]\fR
instead of \fB[wm geometry ... \fIw\fBx\fIh\fB+\fIx\fB+\fIy\fB]\fR),
the sizegrip widget will not resize the window.
.PP
ttk::sizegrip widgets only support "southeast" resizing.
.SH "SEE ALSO"
widget(n)
.SH "KEYWORDS"
widget, sizegrip, grow box

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
Pratt-1.6.8 pkgs/tile-0.8.2/doc/sizegrip.n
Pratt-1.6.5 pkgs/tile-0.8.2/doc/sizegrip.n
Pratt-1.6.4 pkgs/tile-0.8.2/doc/sizegrip.n
Pratt-1.6.2 pkgs/tile-0.8.2/doc/sizegrip.n
Pratt-1.5.8 pkgs/tile-0.8.2/doc/sizegrip.n
Pratt-1.5.6 pkgs/tile-0.8.2/doc/sizegrip.n