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  converters
     for  various data types. They take no arguments are return no values. It is
     safe to call these functions multiple times in an application.

USAGE
     These resource converters are important for the Xmt ``programming with  re-
     sources'' 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 converters. To take advantage  of
     the Xmt multi-font XmString syntax, register the XmString converter. And to
     use  the  Xmt  color and icon handling facilities, register the Pixel, Col-
     orTable Pixmap, Bitmap, and Bitmask converters.

     You can also register all of these converters by calling XmtInitialize() 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=XmtRegisterColorTableConverter&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help