wxGo icon indicating copy to clipboard operation
wxGo copied to clipboard

Form Designers

Open tataDan opened this issue 6 years ago • 3 comments
trafficstars

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)?

tataDan avatar Apr 24 '19 17:04 tataDan

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.

Kvaz1r avatar Apr 24 '19 17:04 Kvaz1r

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.

Asday avatar Apr 24 '19 17:04 Asday

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

dontpanic92 avatar Apr 25 '19 03:04 dontpanic92