Can you use WDialogs? You can instantiate many of those simultaneously. Alternatively, you could consider to use a WGridLayout and use setRowResizable/setColumnResizable which will allow you to drag the grid separators around. Wt's drag-and-drop infrastructure could be used to reposition charts within a gridlayout.
Yet another possibility is to position/resize your graphs with client-side JavaScript. You'll do then mostly the same as in wt/src/Wt/WDialog.C and wt/src/js/WDialog.js. This is probably a bit more complex to implement, but otoh you can make it look and behave exactly like you want. Wrt to Ext::Dialog, I don't think it has a non-modal mode (Koen can you confirm this?). BR, Wim. 2010/11/17 Gaetano Mendola <[email protected]>: > Hi, > I need to show multiple graphs (graphs are updated outside the event > loop), actually I'm placing those > with success inside a Wt::WGridLayout. It would be nice if the user > could move (and scale) those graphs > around, I had in mind to use the Wt::Ext::Dialog putting the chart inside. > Reading the documentation it seems only one Dialog can be active a > time. Is there another way to > achieve the same "result"? > > Regards > Gaetano Mendola > > -- > cpp-today.blogspot.com > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
