SgFileSelectionBoxReplaceSuffix(3X)
SgFileSelectionBoxReplaceSuffix -- A FileSelectionBox function used to re- place the suffix of the current file name.
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME SgFileSelectionBoxReplaceSuffix -- A FileSelectionBox function used to re- place the suffix of the current file name. SYNOPSIS #include <Xm/FileSB.h> void SgFileSelectionBoxReplaceSuffix (widget, file_type, default_suffix) Widget widget; const char *file_type; const char *default_suffix; VERSION This page documents the version of Sgm that accompanies Motif 1.2. DESCRIPTION SgFileSelectionReplaceSuffix is used to replace the suffix of the current filename within a FileSelectionBox. The parameters given to the function are the FileSelectionBox widget, the FTR file type from which to derive the new suffix, and a default suffix to be used if the FTR database does not contain a suffix for the given file type. widget Specifies the FileSelectionBox widget ID. file_type Specifies the FTR file type to be used in determining the new suf- fix. default_suffix Specifies the suffix to be used if FTR database does not contain a suffix for the given file type. For a complete definition of FileSelectionBox and its associated resources, see SgFileSelectionBox(3X). RELATED INFORMATION SgFileSelectionBox(3X). SgFileSelectionBoxReplaceSuffix(3X)