|
Re: [ex11] use of Display: msg#00277lang.erlang.general
On Fri, 23 Jan 2004, Vlad Dumitrescu wrote: > Hi Joe, > > A silly question this time: I think I am too tired this Friday afternoon. :-) > > If I run something like > > Display=sw:start("3.1"), > Win = swTopLevel:make(Display, 160, 50, 16#ffffcc), > > Win2 = swTopLevel:make(Display, 260, 50, 16#ffffcc), > > then closing any of the windows will close both of them. > > Is it supposed to be so? If yes, does it mean that the only one top-level > window > should be created per Display? It seems not so comfortable... > This is how X works I was rather surprised by this. The X server seems to assume that one window = one socket connection. Kill the window by clicking on the window destoy button then all top level windows die. That's why you'll only ever see one top level window created in my code. /Joe > regards, > Vlad > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problems on Mac OS X 10.3: 00277, Sean Hinde |
|---|---|
| Next by Date: | anti-spam measures: 00277, Byron Hale |
| Previous by Thread: | [ex11] use of Displayi: 00277, Vlad Dumitrescu |
| Next by Thread: | Re: [ex11] use of Display: 00277, Vlad Dumitrescu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |