|
NAMEXmtRegister<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) ARGUMENTSNone.DESCRIPTIONThese 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.USAGEThese 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 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, ColorTable Pixmap, Bitmap, and Bitmask converters.You can also register all of these converters by calling XmtInitialize() or XmtRegisterAll(). SEE ALSOChapter 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 CreationXmtConvertStringTo<Type>(), XmtInitialize(), XmtRegisterAll().
Visit the GSP FreeBSD Man Page Interface. |