-1

I have an application with tons of windows (frames and dialogs) made with wxWidgets XRC. I'm preparing to convert all generated screens to HTML to make an web version, before doing it I would like to know if someone knows a tool for doing so, convert XRC resource to a bunch of DIVs, INPUTs, CHECKBOXes, TABLEs, etc., so I don't need to reinvent the wheel :)

4
  • maybe you will have a better luck looking at wx-3.1 + wxWebView?
    – Igor
    Aug 15, 2016 at 17:58
  • maybe, but I'm stuck on wx-2.8 with wxruby :( stackoverflow.com/questions/16572421/…
    – Fred
    Aug 16, 2016 at 12:56
  • can't you compile it yourself?
    – Igor
    Aug 16, 2016 at 13:38
  • just on linux, so far... not windows
    – Fred
    Aug 16, 2016 at 15:26

1 Answer 1

0

To the best of my knowledge, no such tool exists and, to be honest, I have trouble understanding how one could be written considering that:

  1. wxWidgets layout model based on sizers is very different from the typical layout models used on the web, so you would need to find a way to reimplement it in CSS first.
  2. wxWidgets provides a much richer set of widgets than standard HTML, so you would also need to have a JavaScript library implementing many of them.
1
  • I need just the basic components, my app is written in Ruby using wxRuby, if I load XRC file using wxWidgets I can pick all elements sizes and positions and replace it with HTML elements, CSS gives it the same look (it is already working). Now I'm trying to generate such windows without loading wxRuby
    – Fred
    Aug 11, 2016 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.