Name
DirSelectBox
- tixDirSelectBox
pathName
[option value
...] The tixDirSelectBox command creates a new tixDirSelectBox mega-widget named
pathName
. ThetixDirSelectBox
class is derived from thetix-Primitive
class. It combines a tixFileComboBox with a tixDirList to provide a method for a user to select a directory by both keyboard entry and listbox selection.
Widget-Specific Options
- -command
tclCommand
(command
,Command
) Command to call when the current directory value is changed. The value is appended as an argument.
- -disablecallback
boolean
(disableCallback
,DisableCallback
) Whether callbacks (-command) are disabled.
- -value
directory
(value
,Value
) Name of the current directory displayed.
Subwidgets
dircbx
The tixFileComboBox mega-widget.
dirlist
The tixDirList mega-widget.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.