iwidgets::selectiondialog - Create and manipulate a selection
dialog widget
iwidgets::selectiondialog pathName ?options?
itk::Toplevel <- iwidgets::Shell <- iwidgets::Dialogshell <-
iwidgets::Dialog <- iwidgets::Selectiondialog
activeBackground background borderWidth cursor exportSelection foreground highlightColor highlightThickness insertBackground insertBorderWidth insertOffTime insertOnTime
options.
textBackground textFont
associated options.
labelFont
above associated options.
activeRelief elementBorderWidth jumptroughColor
above associated options.
textBackground textFont
on the above associated options. childsitepos itemsCommand itemsLabel itemsOn
above associated options.
buttonBoxPadX buttonBoxPadY buttonBoxPos padX
above inherited options.
height master modality width
inherited options.
title
inherited options.
_________________________________________________________________
similar to the OSF/Motif standard selection dialog composite wid- get. The selectiondialog is derived from the Dialog class and is composed of a selectionbox with commands to manipulate the dialog 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 ...?
childsite clear get insert
selectitem
above associated methods.
curselection delete index nearest
associated methods.
add buttonconfigure defaulthide
inherited methods.
activate center deactivate
inherited methods.
pathName cget option
option. Option may have any of the values accepted by the iwid-
gets::selectiondialog 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::selectiondialog command.
dialog. See the «selectionbox» widget manual entry for details on the selectionbox component item.
package require Iwidgets 4.0
iwidgets::selectiondialog .sd
.sd activate
selectiondialog, selectionbox, dialog, dialogshell, shell, widget