3 ms·
> A GUI proposal also was in the work for a while, then dropped because of lack of interest. Are your sure? I can remember proposals for 2D graphics, but I hav
by spacechild1 2y ago
> A GUI proposal also was in the work for a while, then dropped because of lack of interest.
Are your sure? I can remember proposals for 2D graphics, but I have never heard of a GUI proposal. Graphics is only concerned with drawing things on a canvas. GUIs are about, well, graphical user interfaces which also involve user input, even handling, window management, etc.
- jcranmer 2y agoThe closest I think they got to a concrete proposal was web_view (https://wg21.link/p1108 https://wg21.link/p1108).
- spacechild1 2y agoInteresting! AFAICT this would allow to run some JS code in a web browser, right? One thing I don't understand: > Each web_view class instance represents an independent, asynchronous web-content interface. The provided web_view shall support content complying with the [HTML5], [PNG], and [ECMAScript] standards. Who is supposed to provide the runtime? Also, it shows how to call a JS function and get the result back in C++, but how would you interface with C++ from within JS (e.g. in an event handler)?
- gpderetta 2y agoYou might be right and I might be misremembering. I thought there was a some point a subcomittee looking into GUIs in addition to the 2d graphic proposal. edit: I think SG13 was supposed to look into GUIs at some point, but with even the 2d graphic proposal failing, it was disbanded.