1ttk::sizegrip(n)               Tk Themed Widget               ttk::sizegrip(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ttk::sizegrip - Bottom-right corner resize widget
9

SYNOPSIS

11       ttk::sizegrip pathName ?options?
12_________________________________________________________________
13

DESCRIPTION

15       A  ttk::sizegrip  widget  (also known as a grow box) allows the user to
16       resize the containing toplevel window  by  pressing  and  dragging  the
17       grip.
18

STANDARD OPTIONS

20       -class                -cursor              -state
21       -style                -takefocus
22
23       See the ttk_widget manual entry for details on the standard options.
24

WIDGET COMMAND

26       Sizegrip  widgets  support  the  standard  cget,  configure,  identify,
27       instate, and state methods.  No other widget methods are used.
28

PLATFORM-SPECIFIC NOTES

30       On Mac OSX, toplevel windows automatically include a built-in size grip
31       by default.  Adding a ttk::sizegrip there is harmless, since the built-
32       in grip will just mask the widget.
33

EXAMPLES

35       Using pack:
36              pack [ttk::frame $top.statusbar] -side bottom -fill x
37              pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
38
39       Using grid:
40              grid [ttk::sizegrip $top.statusbar.grip] \
41                  -row $lastRow -column $lastColumn -sticky se
42              # ... optional: add vertical scrollbar in $lastColumn,
43              # ... optional: add horizontal scrollbar in $lastRow
44

BUGS

46       If the containing toplevel's position was  specified  relative  to  the
47       right  or bottom of the screen (e.g., “wm geometry ... wxh-x-y” instead
48       of “wm geometry ... wxh+x+y”), the sizegrip widget will not resize  the
49       window.
50
51       ttk::sizegrip widgets only support “southeast” resizing.
52

SEE ALSO

54       ttk::widget(n)
55

KEYWORDS

57       widget, sizegrip, grow box
58
59
60
61Tk                                    8.5                     ttk::sizegrip(n)
Impressum