Xref: utzoo comp.windows.x.motif:2684 comp.windows.x:35735 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x.motif,comp.windows.x Subject: Re: Controlling Widgets on different Displays Message-ID: <1991Apr25.124158@wsl.dec.com> Date: 25 Apr 91 19:41:58 GMT References: <1270@dcl-vitus.comp.lancs.ac.uk> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 17 In article <1270@dcl-vitus.comp.lancs.ac.uk>, julian@comp.lancs.ac.uk (Julian G. Self) writes: |> I am trying to write some code that gives me two topLevelShellWidget's but |> with each one being on a different display. |> |> Is this possible without going to the Xlib level? You can use XtOpenDisplay() and XtCreateApplicationShell() to create shell widgets on as many displays as you wish. You can also do XtGetApplicationResources() on each display to get per-display resources. Putting all the displays in the same application context greatly simplifies event handling, but is not required. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee