disjointlistbox - Create and manipulate a disjointlistbox widget
disjointlistbox pathName ?options?
itk::Widget <- 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".
_________________________________________________________________
similar to the OSF/Motif «Book» printing dialog of the «FrameMaker» program. It is implementation constists of a two
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.
is pathName. This command may be used to invoke various opera- tions 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 dis-
jointlistbox 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 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.
disjointlistbox .dlb
pack .dlb -padx 10 -pady 10 -fill both -expand yes
disjointlistbox, widget