dontpanic92 / wxGo

Golang wxWidgets Wrapper
Other
403 stars 51 forks source link

Form Designers #68

Open tataDan opened 5 years ago

tataDan commented 5 years ago

Is it possible to write a wxGo program that reads a glade or xml file created by a form designer (similar to the way the GtkBuilder object works with GTK)?

Kvaz1r commented 5 years ago

No, there isn't support for something like this now. I remember similar issue in wxFormbuilder - https://github.com/wxFormBuilder/wxFormBuilder/issues/477 , maybe one day someone fix it.

Asday commented 5 years ago

wxFormBuilder's save file format is pretty sensible XML. I got half way through writing a custom Python importer that would let one import formbuildersavefile a while back.

And I'm an idiot. I'm sure you go programmers can smash something great out in short order.

dontpanic92 commented 5 years ago

wxFormBuilder can generate XML format dialog definitions which can be loaded using wx.XmlResourceGet().Load(). For how to use XmlResource you can refer to wx Doc