Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtConvertStringToBitmap(3) Library Functions Manual XmtConvertStringToBitmap(3)

NAME
     XmtConvertStringTo<Type> - ``new style'' Xt resource converters for various
     types.

SYNOPSIS
     #include <Xmt/Converters.h>

     Boolean XmtConvertStringToBitmap(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToBitmask(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToCallback(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToColorTable(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToPixel(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToPixmap(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToPixmapList(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToStringList(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToWidget(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToXmFontList(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToXmString(dpy, args, num_args, from, to, data)

     Boolean XmtConvertStringToXmtMenuItems(dpy, args, num_args, from, to, data)

     Display *dpy;
     XrmValue *args;
     Cardinal *num_args;
     XrmValue *from, *to;
     XtPointer *data;

ARGUMENTS
     INPUTS

     dpy    The Display for the conversion.

     args   An array of arguments for the converter.

     num_args
	    The number of elements in args.

     from   The address and size of the value to convert.

     to     The address and size of memory in which the converted value is to be
	    stored.

	    OUTPUTS

		 to	Returns  the actual address at which the converted value
			was stored, and the actual number of bytes it occupies.

		 data	Arbitrary data returned by the converter  for  use  with
			the resource caching mechanism.

	    RETURNS

		 True for successful conversion; False otherwise.

DESCRIPTION
     These  functions  are  the  various resource converters used by the Xmt li-
     brary. They are all of type XtTypeConverter-``new style'' resource convert-
     ers, designed to be registered with XtSetTypeXtConverter(). Note that these
     functions should never be called directly-they should  be	registered  with
     the  Xt  resource	manager,  and  invoked when a resource conversion is re-
     quested.

USAGE
     The easiest way to register these type converters is to use  the  registra-
     tion  functions  that  Xmt  provides. These functions all have names of the
     form XmtRegister<Type>Converter().

SEE ALSO
     Converter(), XtTypeConverter().

Xmt				   Motif Tools	     XmtConvertStringToBitmap(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtConvertStringToColorTable&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help