[ex11] use of Display
Fri Jan 23 15:58:06 CET 2004
A silly question this time: I think I am too tired this Friday afternoon. :-)
If I run something like
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...
More information about the erlang-questions