packages icon



 PCacheLocatePixmapFile(3)     c2man pcache.h      PCacheLocatePixmapFile(3)
                                24 March 1995



 NAME
      PCacheLocatePixmapFile - Locate a pixmap file from pixmap name.

 SYNOPSIS
      #include <Kn/pcache.h>

      char *PCacheLocatePixmapFile
      (
           Display *dpy,
           char *name
      );

 PARAMETERS
      Display *dpy
           Display where to draw.

      char *name
           Pixmap name.

 DESCRIPTION
      This function uses XtResolvePathname to try to locate the file whose
      name is "<name>.xpm". The functions first searche in the current
      directory, then in the "./bitmaps" Directory. If the file is not
      found, it searches the file trough the standard locations solved by
      XtResolvePathname (using XFILESEARCHPATH). IF the file is not found,
      it searches with XtResolvePathname using XUSERFILESEARCHPATH. In both
      cases, the %T indicator will be reaplaced with 'bitmaps'.

 RETURNS
      The complete file name on succes, NULL on failure.  It is the
      responsibility of the caller to free the returned allocated memory.

 SEE ALSO
      PCacheGetPixmap(3), PCachePreload(3)




















                                    - 1 -         Formatted:  March 28, 2024