XForms: Composite objects

Carl Krawl Armstrong (crarmstr@wolverine.cameron.edu)
Mon, 20 Apr 1998 10:05:33 -0500 (CDT)

# To subscribers of the xforms list from Carl Krawl Armstrong <crarmstr@wolverine.cameron.edu> :

I have written several small specific objects that are composed of a few
standard xforms objects. Each child object remembers it's parent using
the parent pointer supplied in the FL_OBJECT structure and sets the
is_child value to true. This works well. As it should be, I'm able to
hide and show this object via the fl_hide/show functions provided by the
xforms library. Now, what I need is to create yet another object that
incorporates my other smaller objects and this is where I seem to run
into a problem. At the moment, the larger object doesn't seem to draw
it's child composite objects, although the handle routine for the child
objects doess get called. Am I doing something incorrectly perhaps?
Also, one other thing, I have been unable to determine in what way the
'child' and 'nc' pointers are intended to be used in the FL_OBJECT
structure. All that I do know concerning the 'child' pointer is that
setting it to a created object eventually terminates with a segmentation
fault, which I believe occurs during redraw, although I'm not entirely
certain of that. All help is appreciated. Thanks

Carl "Krawl" Armstrong

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