[comp.windows.x] Stuff a window inside a form widget

sanjay@MEDIA.MIT.EDU (Sanjay Manandhar) (08/07/90)

Hi,
I'm trying to make a window a child of a form widget. Is there a Xlib or
Xt call that will let you do this?

I.e. I'm trying to display the contents of a window (created a priori)
within the form widget of my appications.

thanx,

sanjay

________________________________________________________________________

Sanjay Manandhar			sanjay@media-lab.media.mit.edu

MIT Media Laboratory                  	(617) 253-0312
20 Ames Street, E15-355
Cambridge, MA 02139
USA
_________________________________________________________________________

swick@ATHENA.MIT.EDU (Ralph Swick) (08/07/90)

    I'm trying to make a window a child of a form widget. Is there a Xlib or
    Xt call that will let you do this?

    I.e. I'm trying to display the contents of a window (created a priori)
    within the form widget of my appications.

I'd suggest that you subclass Core and add an XtNwindow resource.
The realize proc of this new class stuffs this resource into the
core.window field, possibly also re-parenting it.