GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XMTCONVERTSTRINGTOBITMAP (3)

NAME

XmtConvertStringTo<Type> - ‘‘new style’’ Xt resource converters for various types.

CONTENTS

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 library. They are all of type XtTypeConverter-‘‘new style’’ resource converters, 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 requested.

USAGE

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

SEE ALSO

Converter(), XtTypeConverter().
Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTCONVERTSTRINGTOBITMAP (3) Motif Tools

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.