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

NAME

8       ttk::panedwindow - Multi-pane container window
9

SYNOPSIS

11       ttk::panedwindow pathName ?options?
12       pathName add window ?options...?
13       pathName insert index window ?options...?
14_________________________________________________________________
15

DESCRIPTION

17       A  ttk::panedwindow  widget  displays  a  number of subwindows, stacked
18       either vertically or horizontally.  The user may  adjust  the  relative
19       sizes of the subwindows by dragging the sash between panes.
20

STANDARD OPTIONS

22       -class                -cursor              -takefocus
23       -style
24
25       See the ttk_widget manual entry for details on the standard options.
26

WIDGET-SPECIFIC OPTIONS

28       [-orient orient] Specifies the orientation of the window.  If vertical,
29       subpanes are stacked top-to-bottom; if horizontal, subpanes are stacked
30       left-to-right.  [-width width] If present and greater than zero, speci‐
31       fies the desired  width  of  the  widget  in  pixels.   Otherwise,  the
32       requested  width  is  determined  by  the width of the managed windows.
33       [-height height] If  present  and  greater  than  zero,  specifies  the
34       desired  height  of  the  widget  in  pixels.  Otherwise, the requested
35       height is determined by the height of the managed windows.
36

PANE OPTIONS

38       The following options may be specified for each pane:  [-weight weight]
39       An  integer  specifying  the relative stretchability of the pane.  When
40       the paned window is resized, the extra space is added or subtracted  to
41       each pane proportionally to its -weight.
42

WIDGET COMMAND

44       Supports the standard configure, cget, state, and instate commands; see
45       ttk::widget(n) for details.  Additional commands:
46
47       pathname add subwindow options...
48              Adds a new pane to the window.  subwindow must be a direct child
49              of  the paned window pathname.  See PANE OPTIONS for the list of
50              available options.
51
52       pathname forget pane
53              Removes the specified subpane from the widget.  pane  is  either
54              an integer index or the name of a managed subwindow.
55
56       pathname identify x y
57              Returns  the index of the sash at point x,y, or the empty string
58              if x,y is not over a sash.
59
60       pathname insert pos subwindow options...
61              Inserts a pane at the specified position.   pos  is  either  the
62              string  end,  an integer index, or the name of a managed subwin‐
63              dow.  If subwindow is already managed by the paned window, moves
64              it  to the specified position.  See PANE OPTIONS for the list of
65              available options.
66
67       pathname pane pane -option ?value ?-option value...
68              Query or modify the options of the specified pane, where pane is
69              either  an integer index or the name of a managed subwindow.  If
70              no -option is specified, returns a dictionary of the pane option
71              values.   If one -option is specified, returns the value of that
72              option.  Otherwise, sets the -options to the corresponding  val‐
73              ues.
74
75       pathname sashpos index ?newpos?
76              If  newpos is specified, sets the position of sash number index.
77              May adjust the positions of adjacent sashes to ensure that posi‐
78              tions  are monotonically increasing.  Sash positions are further
79              constrained to be between 0 and the total size  of  the  widget.
80              Returns the new position of sash number index.
81

SEE ALSO

83       ttk::widget(n), ttk::notebook(n), panedwindow(n)
84
85
86
87Tk                                    8.5                  ttk::panedwindow(n)
Impressum