|
See the file man.macros. NAMEtixExFileSelectBox - Create and manipulate tixExFileSelectBox widgetsSYNOPSIStixExFileSelectBox pathName ?options?SUPER-CLASSThe TixExFileSelectBox class does not have a super-class.STANDARD OPTIONSTixExFileSelectBox supports all the standard options of a frame widget. See the options(n) manual entry for details on the standard options.WIDGET-SPECIFIC OPTIONS[-browsecmd browseCmd] Specifies a command to call whenever the user browses on a filename in the file listbox (usually by single-clicking on the filename). The command is called with one argument, the complete pathname of the file. [-command command] Specifies the command to be called when the user chooses on a filename the file listbox (usually by double-clicking on the filename). The command is called with one argument, the complete pathname of the file. [-dialog dialog] Specifies a dialog box which contains this ExFileSelectBox widget. The dialog box must be a widget of the class TixShell or its descendant classes. This is an internal option and should not be used by application programmers. [-dircmd dircmd] Specifies the TCL command to be called when a file listing is needed for a particular directory. If this option is not specified, by default the ExFileSelectBox widget will attempt to read the directory as a Unix directory. On special occasions, the application programmer may want to supply a special method for reading directories: for example, when he needs to list remote files. In this case, the -dircmd option can be used. The specified command accepts three arguments: the first is the name of the directory to be listed; the second is a list of file patterns, the third is a Boolean value indicating whether hidden files should be listed. This command returns a list of names of the files of this directory which match with the file patterns.Name: directory Class: Directory Switch: -directory Alias: -dir
Name: value Class: Value Switch: -value Alias: -selection
SUBWIDGETSName: cancel Class: Button
Name: dir Class: TixComboBox
Name: dirlist Class: TixDirList
Name: file Class: TixComboBox
Name: filelist Class: TixScrolledListBox
Name: hidden Class: Checkbutton
Name: ok Class: Button
Name: types Class: TixComboBox
DESCRIPTIONThe tixExFileSelectBox command creates a new window (given by the pathName argument) and makes it into a ExFileSelectBox widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the ExFileSelectBox such as its cursor and relief.The ExFileSelectBox widget is usually embedded in a tixExFileSelectDialog widget. It provides an convenient method for the user to select files. The style of the ExFileSelectBox widget is very similar to the standard file dialog in MS Windows 3.1. WIDGET COMMANDSThe tixExFileSelectBox command creates a new Tcl command whose name is the same as the path name of the ExFileSelectBox'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
ExFileSelectBox widget's path name. Option and the args
determine the exact behavior of the command. The following commands are
possible for ExFileSelectBox widgets:
KEYWORDSTix(n)
Visit the GSP FreeBSD Man Page Interface. |