Re: XForms: resources and Xforms

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 13 Aug 97 14:01:56 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> In my program I put
>
> FL_resource res[] =
> {"device", <class name>, FL_STRING, &device, "/dev/cua1", 15};
>
> In this case what do I put in the <class name> spot?

Basically anything. It's used in Xt applications and not really used
by XForms (since XForms is Xlib based) except to keep the Resource
Manager happy in the XrmPutResource() and XrmGetResource() functions.

You could do something like;

{"device", "DeviceClass", FL_STRING, &device, "/dev/cua1", 15};

if you wanted to.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/