tixPanedWindow - Create and manipulate tixPanedWindow widgets


SYNOPSIS

tixPanedWindow pathName ?options?

STANDARD OPTIONS

The PanedWindow widget supports all the standard options of a frame widget. See the options(n)
manual entry for details on the standard options.

WIDGET-SPECIFIC OPTIONS


Name:		command
Class:		Command
Switch:		-command


Name:		dynamicGeometry
Class:		DynamicGeometry
Switch:		-dynamicgeometry


Name:		handleActiveBg
Class:		HandleActiveBg
Switch:		-handleactivebg


Name:		handleBg
Class:		Background
Switch:		-handlebg


Name:		height
Class:		Height
Switch:		-height


Name:		orientation
Class:		Orientation
Switch:		-orientation
Alias:		-orient


Name:		paneBorderWidth
Class:		PaneBorderWidth
Switch:		-paneborderwidth
Alias:		-panebd


Name:		paneRelief
Class:		PaneRelief
Switch:		-panerelief


Name:		separatorActiveBg
Class:		SeparatorActiveBg
Switch:		-separatoractivebg


Name:		separatorBg
Class:		Background
Switch:		-separatorbg


Name:		width
Class:		Width
Switch:		-width

SUBWIDGETS

All the pane subwidgets created as a result of the add command can be accessed by the subwidget command. They are identified by the paneName parameter to the add command.


DESCRIPTION

The tixPanedWindow command creates a new window (given by the pathName argument) and makes it into a PanedWindow widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the PanedWindow widget such as its cursor and relief.

The PanedWindow widget allows the user to interactively manipulate the sizes of several panes. The panes can be arranged either vertically or horizontally. Each individual pane may have upper and lower limits of its size. The user changes the sizes of the panes by dragging the resize handle between two panes.

WIDGET COMMAND

The tixPanedWindow command creates a new Tcl command whose name is command may be used to invoke various operations on the widget. It has the following general form:

pathName option ?arg arg ...?

PathName is the name of the command, which is the same as the the exact behavior of the command. The following commands are possible for PanedWindow widgets:
pathName add paneName ?option value ...?
Adds a new pane subwidget with the name paneName into the PanedWindow widget. Additional configuration options can be given to configure the new button subwidget. Three configuration options are supported:
pathName cget option
Returns the current value of the configuration option given by option. Option may be -min, -max and/or -size, or any option accepted by the Tk frame widget.
pathName configure ?option? ?value option value ...?
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may be any of the non-static options of the PanedWindow widget.
pathName delete paneName
Removes the pane given by paneName and deletes its contents.
pathName forget paneName
Removes the pane given by paneName but does not delete its contents. This pane can be later added back to the PanedWindow widget by the manage method.
pathName manage paneName ?option value ...?
Adds the pane given by paneName back to the PanedWindow widget. PaneName must be already forgotten by the forget method. Additional option-value pairs, same as those accepted by the add method, can be given to control the appearance and position of the pane.
pathName panecget paneName option
Returns the current value of the configuration option given by option in the pane given by paneName. Option may have any of the values accepted by the add widget command.
pathName paneconfigure paneName ?option? ?value ...?
When no option is given, prints out the values of all options of this pane. If option is specified with no value, then the command returns the current value of that option. If one or more option-value pairs are specified, then the command modifies the command returns an empty string. Option may be -min, -max and/or -size, or any option accepted by the Tk frame widget. The sizes of the panes may be changed as a result of calling the paneconfigure command.
pathName panes
Returns a list of the names of all panes.
pathName setsize paneName newSize ?direction?
Sets the size of the pane specified by paneName to newSize. The direction parameter specifies in which direction the pane should grow/shrink. Possible values are next: the pane will grow or shrink by moving the boundary between itself and the pane to its right or bottom; prev: the pane will grow or shrink by moving the boundary between itself and the pane to its left or top.
pathName subwidget name ?args?
When no options are given, returns the pathname of the subwidget of the specified name. When options are given, the widget command of the specified subwidget will be called with these options.

BINDINGS

-max and -size options of the panes.

KEYWORDS

TIX, Container Widget
Last modified Sun Jan 19 22:34:35 EST 1997 --- Serial 853731303