SgFileSelectionBoxReplaceSuffix(3X)
SgFileSelectionBoxReplaceSuffix - A FileSelectionBox function used to replace the suffix of the current file name.
As shipped in IRIX 6.5.15. Added in IRIX 6.5.5.
SgFileSelectionBoxReplaceSUNIXSgFileSelectionBoxReplaceSuffix(3X) NAME SgFileSelectionBoxReplaceSuffix - A FileSelectionBox function used to replace 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 2.1. 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 suffix. 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).