1iwidgets::selectiondialog − Create and manipulate a selection di‐
2alog   widget   iwidgets::selectiondialog   pathName    ?options?
3itk::Toplevel  <‐  iwidgets::Shell  <‐  iwidgets::Dialogshell  <‐
4iwidgets::Dialog <‐ iwidgets::Selectiondialog

activeBackground background borderWidth cursor

exportSelection foreground highlightColor highlightThickness

insertBackground insertBorderWidth insertOffTime insertOnTime

insertWidth selectBackground selectBorderWidth selectForeground

9See the "options" manual entry for details on  the  standard  op‐
10tions.

textBackground textFont

12See the "entryfield" widget manual entry for details on the above
13associated options.

labelFont

15See the "labeledwidget" widget manual entry for  details  on  the
16above associated options.

activeRelief elementBorderWidth jumptroughColor

18See  the "scrollbar" widget class manual entry for details on the
19above associated options.

textBackground textFont

21See the "scrolledlistbox" widget class manual entry  for  details
22on   the  above  associated  options.   childsitepos    itemsCom‐

mand itemsLabel itemsOn selectionCommand se‐

lectionLabel selectionOn

25See  the  "selectionbox"  widget  manual entry for details on the
26above associated options.

buttonBoxPadX buttonBoxPadY buttonBoxPos padX

padY separator thickness

29See the "dialogshell" widget  manual entry  for  details  on  the
30above inherited options.

height master modality width

32See the "shell" widget  manual entry for details on the above in‐
33herited options.

title

35See the "Toplevel" widget  manual entry for details on the  above
36inherited options.
37
38The  iwidgets::selectiondialog  command  creates  a selection box
39similar to the OSF/Motif standard selection dialog composite wid‐
40get.  The selectiondialog is derived from the Dialog class and is
41composed of a selectionbox with commands to manipulate the dialog
42buttons.
43
44The  iwidgets::selectiondialog  command creates a new Tcl command
45whose name is pathName.  This command may be used to invoke vari‐
46ous operations on the widget.  It has the following general form:

pathName option ?arg arg ...? Option and the args determine the

48exact behavior of the command.  The following commands are possi‐
49ble for selectiondialog widgets:

childsite clear get insert

selectitem

52See the "selectionbox" widget manual entry  for  details  on  the
53above associated methods.

curselection delete index nearest

scan selection size

56See  the  "listbox"  widget manual entry for details on the above
57associated methods.

add buttonconfigure defaulthide

invoke show

60See the "buttonbox" widget manual entry for details on the  above
61inherited methods.

activate center deactivate

63See  the "shell" widget manual entry for details on the above in‐
64herited methods.  pathName cget option Returns the current  value
65of the configuration option given by option.  Option may have any
66of the values accepted by the iwidgets::selectiondialog  command.

pathName configure ?option? ?value option value ...? Query or

68modify the configuration options of the widget.  If no option  is
69specified, returns a list describing all of the available options
70for pathName (see Tk_ConfigureInfo for information on the  format
71of  this  list).   If option is specified with no value, then the
72command returns a list describing the one named option (this list
73will  be  identical to the corresponding sublist of the value re‐
74turned if no option is specified).  If one or  more  option−value
75pairs  are  specified, then the command modifies the given widget
76option(s) to have the given value(s);  in this case  the  command
77returns  an  empty string.  Option may have any of the values ac‐
78cepted by the iwidgets::selectiondialog command.
79
80Name:           selectionbox
81Class:          Selectionbox
82The selectionbox component is the selection box for the selection
83dialog.   See  the "selectionbox" widget manual entry for details
84on the selectionbox component item.
85
86 package require Iwidgets 4.0
87 iwidgets::selectiondialog .sd
88 .sd activate Mark L. Ulferts selectiondialog, selectionbox, dia‐
89log, dialogshell, shell, widget
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Impressum