Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SgFileSelectionBoxReplaceSuffix() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     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 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 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).











     Page 1                                          (printed 4/30/98)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026