Hi Wolfgang,
I did something similar:
1º I put several buttons inside one panel
2º I do the usual operations
3º I delete all the widgets inside the panel but not the panel itself. For a
panel called "panel" do
"
-- its necessary to delete the old elements in the panel
windowChildren pp >>= mapM objectDelete
"
4º I create the new widgets (as children widgets of the panel "panel")
5º and use them as if they were the first ones
Best
Miguel Vilaça
-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Wolfgang
Jeltsch
Enviada: quarta-feira, 21 de Março de 2007 15:14
Para: [email protected]
Assunto: [wxhaskell-users] dynamic user interfaces
Hello,
I want to replace a group of frames or widgets by another group of frames or
widgets respectively. The old frames/widgets shall be deleted and the new
ones created at the same time, i.e., without showing the intermediate
state
in the user interface. How do I achieve this in wxHaskell?
Best wishes,
Wolfgang
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users