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

FreeBSD Manual Pages

  
 
  

home | help
XmtRegiste...pConverter(3) Library Functions Manual XmtRegiste...pConverter(3)

NAME
       XmtRegister<Type>Converter  -  register resource	converters for various
       types.

SYNOPSIS
       #include	<Xmt/Converters.h>

       void XmtRegisterBitmapConverter(void)

       void XmtRegisterBitmaskConverter(void)

       void XmtRegisterCallbackConverter(void)

       void XmtRegisterColorTableConverter(void)

       void XmtRegisterMenuItemsConverter(void)

       void XmtRegisterPixelConverter(void)

       void XmtRegisterPixmapConverter(void)

       void XmtRegisterPixmapListConverter(void)

       void XmtRegisterStringListConverter(void)

       void XmtRegisterWidgetConverter(void)

       void XmtRegisterXmFontListConverter(void)

       void XmtRegisterXmStringConverter(void)

ARGUMENTS
       None.

DESCRIPTION
       These functions call XtSetTypeConverter() to register resource convert-
       ers for various data types. They	take no	arguments are return  no  val-
       ues.  It	 is safe to call these functions multiple times	in an applica-
       tion.

USAGE
       These resource converters are important for the Xmt ``programming  with
       resources''  approach  to  application  development. If you'll be using
       callbacks in your resource file,	you'll need to register	 the  Callback
       and  the	 Widget	converters. If you'll be using the XmtMenu widget, you
       want the	MenuItems converter. If	you use	the XmtChooser widget  with  a
       resource	 file, register	the StringList and perhaps the PixmapList con-
       verters.	To take	advantage of the Xmt multi-font	XmString syntax,  reg-
       ister  the  XmString  converter.	And to use the Xmt color and icon han-
       dling facilities, register the Pixel, ColorTable	 Pixmap,  Bitmap,  and
       Bitmask converters.

       You  can	 also  register	all of these converters	by calling XmtInitial-
       ize() or	XmtRegisterAll().

SEE ALSO
       Chapter 3, Displaying Text
       Chapter 4, Using	Color
       Chapter 5, Using	Icons
       Chapter 9, Looking Up Widgets by	Name
       Chapter 10, Callbacks in	Resource Files
       Chapter 20, Easy	Menu Creation
       XmtConvertStringTo<Type>(), XmtInitialize(), XmtRegisterAll().

Xmt				  Motif	Tools	    XmtRegiste...pConverter(3)

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

home | help