home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sdrc!thor!scjones
- From: scjones@thor.sdrc.com (Larry Jones)
- Newsgroups: comp.windows.x.intrinsics
- Subject: Create widget in existing window?
- Message-ID: <2419@sdrc.COM>
- Date: 21 Dec 92 17:05:33 GMT
- Sender: news@sdrc.COM
- Lines: 15
-
- I have an application where a main process manages a large widget tree
- containing lots of menus and other user interaction type stuff and a
- single drawing area widget. The user interaction ultimately sends
- commands to an asynchronous subprocess which draws in the drawing area.
- I'd like to use the intrinsics in the subprocess, but I'm not really
- sure of the best way to get a widget created using the existing drawing
- area window. I suspect that I need a shell of some kind to be the root
- of the subprocess's widget tree; is that true? If so, can I use an
- existing shell widget and just stuff in the appropriate window id and
- set the realized flag, or should I do it right and create a new
- subclass? Any help would be greatly appreciated.
- ----
- Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH 45150-2789 513-576-2070
- larry.jones@sdrc.com or ...uunet!sdrc!larry.jones
- I suppose if I had two X chromosomes, I'd feel hostile too. -- Calvin
-