XForms: Xforms and Xt interaction problems

Anthony Symons (symons@citr.com.au)
Tue, 5 May 1998 17:00:21 +1000 (EST)

# To subscribers of the xforms list from Anthony Symons <symons@citr.com.au> :

Hi all,
I am trying to integrate an application that uses some Xt
Widgets with some XForms windows. The problem that I have is
that the events from the Widgets do not seem to be coming into
the XForms event list.

To actually get things to work I have hacked the XForms
Display to be that of the Widget

e.g.,

Widget w;
w = CreateAppContextAndWidget(...);

fl_initialize(&argc,argc,NULL,NULL,0);
fl_display = XtDisplay(w);

XFormsStuff();
fl_set_event_callback(fl_XtEventHandler, NULL);
fl_do_forms();

This does work - but I think that this is a hack - does anyone
have a better way of integrating with Widgets?

Thanks
Anthony

-- 
--------------------------------------------------------
Dr Anthony Symons       | Phone: +61-73-259-2365
CiTR Pty Ltd            | Fax:   +61-73-259-2259
John Oxley Centre       |
339 Coronation Drive    | Email: a.symons@citr.com.au
MILTON                  |
QLD 4064 AUSTRALIA      | Postal: PO Box 1643
--------------------------------------------------------

_________________________________________________ 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/