tixScrolledListBox(n)
π
tixScrolledListBox β your ScrolledListBox bestie, explained β¨
Okay bestie, this is the manual page for tixScrolledListBox(n) from Tix Built-In Commands. Itβs all about creating and manipulating Tix ScrolledListBox widgets β and yes, the listbox is the main character here. π
β¨ NAME β¨
tixScrolledListBox β create and manipulate Tix ScrolledListBox widgets. π¦
πΈ SYNOPSIS πΈ
tixScrolledListBox pathName ?options?
π STANDARD OPTIONS π
-anchor-background-cursor-relief-borderWidth
For the details on the standard options, see the options manual entry. π
π WIDGET-SPECIFIC OPTIONS π
-anchoranchor β Specifies the alignment of the items inside the listbox subwidget. Only the valueswandeare allowed. When set tow, the listbox is automatically aligned to the beginning of the items. When set toe, the listbox is automatically aligned to the end of the items. Automatic alignment only happens when the ScrolledListBox widget changes its size. π-browsecmdbrowsecmd β Specifies the command to be called when the user browses the elements inside the listbox subwidget (see the BINDINGS section below). π«Ά-commandcommand β Specifies the command to be called when the user invokes the listbox subwidget (see the BINDINGS section below). π-heightheight β Specifies the desired height for the window, in pixels. π-scrollbarscrollbar β Specifies the display policy of the scrollbars. The following values are recognized:auto ?+x? ?-x? ?+y? ?-y?β When-scrollbaris set to"auto", the scrollbars are shown only when needed. Additional modifiers can be used to force a scrollbar to be shown or hidden. For example,"auto -y"means the horizontal scrollbar should be shown when needed but the vertical scrollbar should always be hidden;"auto +x"means the vertical scrollbar should be shown when needed but the horizontal scrollbar should always be shown, and so on. β¨bothβ Both scrollbars are shown. π―noneβ The scrollbars are never shown. πxβ Only the horizontal scrollbar is shown; βοΈyβ Only the vertical scrollbar is shown. βοΈ
-widthwidth β Specifies the desired width for the window, in pixels. π
π¦ SUBWIDGETS π¦
Name: hsb
Class: Scrollbar
The horizontal scrollbar subwidget. π
Name: listbox
Class: Listbox
The listbox subwidget inside the ScrolledListBox widget. π
Name: vsb
Class: Scrollbar
The vertical scrollbar subwidget. π«Ά
π DESCRIPTION π
The tixScrolledListBox command creates a new window (given by the pathName argument) and makes it into a ScrolledListBox widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the ScrolledListBox widget such as its cursor and relief. π
π WIDGET COMMANDS π
The tixScrolledListBox command creates a new Tcl command whose name is the same as the path name of the ScrolledListBox 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 ScrolledListBox widgetβs path name. Option and the args determine the exact behavior of the command. The following commands are possible for ScrolledListBox widgets:
pathName cget optionβ Returns the current value of the configuration option given byoption.Optionmay have any of the values accepted by thetixScrolledListBoxcommand. π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 have any of the values accepted by thetixScrolledListBoxcommand. π οΈpathName subwidget name ?args?β When no additional arguments are given, returns the pathname of the subwidget of the specified name.- When no additional arguments are given, the widget command of the specified subwidget will be called with these parameters. π§
π BINDINGS π
- If the
-browsecmdoption is set, the command which it refers to is called whenever a<ButtonPress-1>or a<Motion-1>event occurs inside the listbox subwidget. π - The command specified by the
-commandoption is invoked when a<Double-1>event occurs inside the listbox subwidget. π―
π BUGS π
The capitalization of some of the command names in Tix 3.x has been changed in Tix 4.0. All commands that ended with box have been changed to a capitalized Box. Hence, the command tixScrolledListbox in Tix 3.x has been changed to tixScrolledListBox in Tix 4.0. Case-sensitive glow-up, periodt. π
β KEYWORDS β
Signed with love by Tix 4.0, and the footerβs date slot literally says tixScrolledListBox(n). π«Άπβ¨
π¦ 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