[ex11] use of Display

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Fri Jan 23 15:58:06 CET 2004


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...

regards,
Vlad





More information about the erlang-questions mailing list