tixPanedWindow(n)
okay bestie, this is tixPanedWindow(n) from Tix Built-In Commands, and it's literally the manual page for creating and manipulating tixPanedWindow widgets. It's giving container-widget main character energy, so let's get into it β every detail stays, only the vibe is upgraded. π
β¨
π NAME π
tixPanedWindow β create and manipulate tixPanedWindow widgets. Short, iconic, to the point. π
β¨ SYNOPSIS β¨
tixPanedWindow pathName ?options?
That's literally how you summon one, bestie. π«Ά
π 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. So yes, frame-standard options are invited to the party too. πΈ
π WIDGET-SPECIFIC OPTIONS π
These are the PanedWindow-specific options β the extra-special ones. No skipping, we're doing all of them. π
- Name:
command; Class:Command; Switch:-commandβ Specifies the command to invoke when the panes change their sizes. This command is called with a list of integers that record the new sizes of the panes. The sizes of the panes are listed in the order of the panes' creation. -dynamicgeometry,dynamicGeometryβ If set totrue, the size of the PanedWindow will dynamically change if the size of any of its panes changes. Otherwise, the size of the PanedWindow will only increase when size of any of its panes changes and will not decrease. The default value istrue.-handleactivebg,handleActiveBgβ Specifies the active background color of the resize handles. When the mouse cursor enters a resize handle, the resize handle will adopt the active background color.-handlebg,handleBgβ Specifies the normal background color of the resize handles.-height,heightβ Specifies the desired height for the window.-orientation,orientationβ Specifies the orientation of the panes. Must be eitherverticalorhorizontal.-paneborderwidthor-panebd,paneBorderWidthβ Specifies the border width of the panes.-panerelief,paneReliefβ Specifies the border relief of the panes.-separatoractivebg,separatorActiveBgβ Specifies the active background color of the separators. When the user grabs a resize handle, the separators will adopt the active background color.-separatorbg,separatorBgβ Specifies the normal background color of the separators.-width,widthβ Specifies the desired width for the window.
π¦ 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. iykyk. π¦
πΈ 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. Slay, honestly. π
π₯ WIDGET COMMAND π₯
The tixPanedWindow command creates a new Tcl command whose name is the same as the path name of the PanedWindow widget's window. This 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 frame widget's path name. Option and the args determine 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 namepaneNameinto the PanedWindow widget. Additional configuration options can be given to configure the new button subwidget. Three configuration options are supported:-after paneβ Specifies that the new pane should be placed afterpanein the list of panes in this PanedWindow widget.-at integerβ Specifies the position of the new pane in the list of panes in this PanedWindow widget.0means the first position,1means the second, and so on. In addition,endmeans the end of the list.-before paneβ Specifies that the new pane should be placed beforepanein the list of panes in this PanedWindow widget.-expand factorβ Specifies the expand/shrink factor of this pane. Factor must be a non-negative floating point number. The default value is0.0. The expand/shrink factor is used to calculate how much each pane should grow or shrink when the size of the PanedWindow main window is changed. When the main window expands/shrinks bynpixels, then paneiwill grow/shrink by aboutn * factor(i) / summation(factors), wherefactor(i)is the expand/shrink factor of paneiandsummation(factors)is the summation of the expand/shrink factors of all the panes. Ifsummation(factors)is0.0, however, only the last visible pane will be grown or shrunk.-min integerβ Specifies the minimum size, in pixels, of the new pane; the default is0.-max integerβ Specifies the maximum size, in pixels, of the new pane; the default is10000.-size integerβ Specifies the size, in pixels, of the new pane; if the-sizeoption is not given, or set to the empty string, the PanedWindow widget will use the natural size of the pane subwidget.
pathName cget optionβ Returns the current value of the configuration option given byoption.Optionmay be-min,-maxand/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 nooptionis specified, returns a list describing all of the available options forpathName(seeTk_ConfigureInfofor information on the format of this list). Ifoptionis specified with novalue, 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 nooptionis specified). If one or moreoption-valuepairs 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.Optionmay be any of the non-static options of the PanedWindow widget.pathName delete paneNameβ Removes the pane given bypaneNameand deletes its contents.pathName forget paneNameβ Removes the pane given bypaneNamebut does not delete its contents. This pane can be later added back to the PanedWindow widget by themanagemethod.pathName manage paneName ?option value ...?β Adds the pane given bypaneNameback to the PanedWindow widget.PaneNamemust be already forgotten by theforgetmethod. Additionaloption-valuepairs, same as those accepted by theaddmethod, 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 byoptionin the pane given bypaneName.Optionmay have any of the values accepted by theaddwidget command.pathName paneconfigure paneName ?option? ?value ...?β When nooptionis given, prints out the values of all options of this pane. Ifoptionis specified with novalue, then the command returns the current value of that option. If one or moreoption-valuepairs are specified, then the command modifies the given pane's option(s) to have the given value(s); in this case the command returns an empty string.Optionmay be-min,-maxand/or-size, or any option accepted by the Tk frame widget. The sizes of the panes may be changed as a result of calling thepaneconfigurecommand.pathName panesβ Returns a list of the names of all panes.pathName setsize paneName newSize ?direction?β Sets the size of the pane specified bypaneNametonewSize. Thedirectionparameter specifies in which direction the pane should grow/shrink. Possible values arenext: 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 specifiedname. When options are given, the widget command of the specified subwidget will be called with these options.
π BINDINGS π
The panes' sizes will be changed when the user drags the handles. The change in the panes' sizes may be subjected to the -min, -max and -size options of the panes. So drag responsibly, bestie. π
β KEYWORDS β
TIXContainer Widget
mwah π β source/version: Tix 4.0; manual page: tixPanedWindow(n); date: not listed on the footer. periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms