|
See the file man.macros. NAMEtixDirSelectDialog - Create and manipulate directory selection dialogs.SYNOPSIStixDirSelectDialog pathName ?options?STANDARD OPTIONSTixDirSelectDialog supports all the standard options of a toplevel widget. See the options(n) manual entry for details on the standard options.WIDGET-SPECIFIC OPTIONS[-command command] Specifies the command to be called when the user selects a directory in the dialog box. The command is called with one extra argument, the complete pathname of the directory. If the user cancels the selection, this command is not called.SUBWIDGETSName: dirbox Class: TixDirSelectBox
Name: cancel Class: Button
Name: ok Class: Buton
DESCRIPTIONThe tixDirSelectDialog command creates a new window (given by the pathName argument) and makes it into a DirSelectDialog widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the DirSelectDialog such as its cursor and relief.The DirSelectDialog widget presents the directories in the file system in a dialog window. The user can use this dialog window to navigate through the file system to select the desired directory. WIDGET COMMANDSThe tixDirSelectDialog command creates a new Tcl command whose name is the same as the path name of the DirSelectDialog's window. This command may be used to invoke various operations on the widget. It has the following general form:pathName option ?arg arg ...?
PathName is the name of the command, which is the same as the
DirSelectDialog widget's path name. Option and the args
determine the exact behavior of the command. The following commands are
possible for DirSelectDialog widgets:
EXAMPLEset dlg [tixDirSelectDialog .dlg -command SelectDir] $dlg popupproc SelectDir {dir} { puts "You have selected \"$dir\"" } KEYWORDSTix(n)
Visit the GSP FreeBSD Man Page Interface. |