logo       

[ex11] use of Display: msg#00275

lang.erlang.general

Subject: [ex11] use of Display

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





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise