Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: saiki@asevx3.sinet.slb.COM Newsgroups: comp.windows.x Subject: Re: Does UIL support multiple instances of Xt applications in a process Message-ID: <9103191006.AA06243@sjosu1.sinet.slb.com> Date: 19 Mar 91 10:06:18 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 32 >Vania Joloboff writes: >>Yoshiyuki Saiki writes: >> Does UIL support multiple instances of X Toolkit applications on different >> displays in a single address space ? If so, how are the different colormaps >> and fonts for each display treated ? > >Not really. The function MrmOpenHierarchy does not take a display >hierarchy, which makes it practically impossible. Why not ? Is this design issue, or implementation one ? I think the actual widget instatiation is done by FetchWidget which takes a parent widget. Is it impossible to resolve resources by this parent's display ? > > unless you have the source code and hack around some > global variables that contain the display info :-) > Fortunately, I don't. (I'm not a hacker ;-) Does this feature(not bug) of resource manager apply to following problem ? "BadFont" error occurs even in case of single UIL/toplevel application when widgets are instatiated second time after closing old display and opening new display. Anyway, I believe these two issues are common among UIL user. Are there any alternatives or future plan to meet our requirements ? Or should I convert my UIL objects (~100) to C code ? - Yoshiyuki Saiki Internet: saiki@ase.slb.com Schlumberger K.K. Fuchinobe Japan