background cursor
See the options manual entry for details on the standard options.
Name: height Class: Height Command-Line Switch: -height
Name: orient Class: Orient Command-Line Switch: -orient
Name: sashBorderWidth Class: BorderWidth Command-Line Switch: -sashborderwidth
Name: sashCursor Class: Cursor Command-Line Switch: -sashcursor
Name: sashHeight Class: Height Command-Line Switch: -sashheight
Name: sashIndent Class: SashIndent Command-Line Switch sashindent
Name: sashWidth Class: Width Command-Line Switch: -sashwidth
Name: thickness Class: Thickness Command-Line Switch: -thickness
Name: width Class: Width Command-Line Switch: -width
The panedwindow command creates a multiple paned window widget capable of orienting the panes either vertically or horizontally. Each pane is itself a frame acting as a child site for other widgets. The border separating each pane contains a sash which allows user positioning of the panes relative to one another.
The panedwindow command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?Option and the args determine the exact behavior of the command.
Many of the widget commands for the panedwindow take as one argument an indicator of which pane of the paned window to operate on. These indicators are called indexes and allow reference and manipulation of panes regardless of their current map state. Paned window indexes may be specified in any of the following forms:
The add method returns the path name of the pane.
panedwindow .pw -width 300 -height 300 .pw add top .pw add middle -margin 10 .pw add bottom -margin 10 -minimum 10pack .pw -fill both -expand yes
foreach pane [.pw childSite] { button $pane.b -text $pane -relief raised -borderwidth 2 pack $pane.b -fill both -expand yes }
.pw fraction 50 30 20 .pw paneconfigure 0 -minimum 20 .pw paneconfigure bottom -margin 15
Jay Schmidgall
Joe Hidebrand <hildjj@fuentez.com>
Ken Copeland <ken@hilco.com>