![]() |
ActiveTcl User Guide
|
![]() |
iwidgets::disjointlistbox - Create and manipulate a
disjointlist- box widget
iwidgets::disjointlistbox pathName
?options?
itk::Widget <- iwidgets::Disjointlistbox
activeBackground selectBorderWidth selectForeground activeForeground activeRelief background
options.
lhsButtonLabel rhsButtonLabel
associated options.
labelFont lhsLabelText rhsLabelText
associated options.
jump troughColor
above associated options.
textBackground textFont
lhsItems rhsItems
above associated options.
ative to the scrolledlistbox widgetsn, bottom, or
center. The default is bottom.
default is «Available".
default is «Available".
scrolledlistbox after items are inserted. Accepts the same sort options as the scrolledlistbox sort method (Tcl's lsort command).
end of the list, and no sorting is performed. The default is
«increasing".
scrolledlistbox after items are inserted. Accepts the same sort options as the scrolledlistbox sort method (Tcl's lsort command).
end of the list, and no sorting is performed. The default is
«increasing".
_________________________________________________________________
listboxs similar to the OSF/Motif «Book» printing dialog of the «FrameMaker» program. It is implementation constists of a two
tion of the two Scrolledlistboxes with one another. That is, a given instance of a Disjointlistbox will never exist, without the aid of a hack magician, which has Scrolledlistbox widgets with items in common. That means the relationship between the two is maintained similar to that of disjoint sets.
the the two buttons.
displayed by the 2 Scrolledlistboxes and to control the
placement of the insertion and removal buttons.
whose name is pathName. This command may be used to invoke vari- ous operations on the widget. It has the following general form:
pathName option ?arg arg ...?
pathName cget option
option. Option may have any of the values accepted
by the iwid- gets::disjointlistbox command.
pathName configure ?option? ?value
option value ...?
option is specified, returns a list describing all of the
avail- able 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 have any of
the values accepted by the iwidgets::disjointlistbox
command. pathName setlhs
the input list of items. Removes all (if any) items from the
right-most Scrolledlistbox which exist in the input list option to
maintain the disjoint property between the two pathName
setrhs
the input list of items. Removes all (if any) items from the
left-most Scrolledlistbox which exist in the input list option to
maintain the disjoint property between the two pathName
getlhs
pathName getrhs
pathName insertlhs
most Scrolledlistbox. Removes all (if any) items from the right-
most Scrolledlistbox which exist in the input list option to
maintain the disjoint property between the two pathName
insertrhs
most Scrolledlistbox. Removes all (if any) items from the left- most Scrolledlistbox which exist in the input list option to maintain the disjoint property between the two.
the «scrolledlistbox» widget manual entry for
details on the lhs component item.
the «scrolledlistbox» widget manual entry for
details on the rhs component item.
selected items from the lhs Scrolledlistbox. See the «button" widget manual entry for details on the lhs button component.
selected items from the rhs Scrolledlistbox. See the «button" widget manual entry for details on the rhs button component.
current items in the Scrolledlistbox. See the «Label» widget manual entry for details on the lhsCount label component.
current items in the Scrolledlistbox. See the «Label» widget manual entry for details on the rhsCount label component.
package require Iwidgets 4.0
iwidgets::disjointlistbox .dlb
pack .dlb -padx 10 -pady 10 -fill both -expand yes
disjointlistbox, widget