Nightly Beta with wxPython Code Generation
Well it has been too long.
We have released a beta that has wxPython code generation. This has been a feature requested for quite some time. Please test the wxPython code generation and report any bug in the issue tracker. Grab it here. Enjoy.
June 16th, 2009 at 7:05 am
Thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you!
I have spent days trying to find a way to get some decent forms created without doing it manually. I finally stumbled across wxformbuilder and created my whole interface in a couple of hours. Then I realised that it generated C++ only! I was using python. How dumb am I? I tried to use the xrc code, but I found that really difficult to get my head around and it doesn’t seem to take much work off my hands compared to just creating forms manually.
So anyway, I started it up again today to have another go and it tells me there is an update. Lo and behold, the update includes Python code generation! I will test it now, but even if it only half works it will still be very useful.
Keep up the great work everyone!
Mike
June 18th, 2009 at 8:54 am
thanks,
i’ve always dreamed of using wxpython + wxformbuilder
now it came true.
thanks again
dewkira
June 18th, 2009 at 10:50 am
well done!excellent!
June 18th, 2009 at 5:10 pm
This is the best news i’ve had in a long time. You people deserve medals.
This will most certainly boost my contribution to the open source community, since i can now do so much more, in much less time.
Lots, and i mean lots, of thumbs up!
BTW it’s working really great if you ask me…
June 18th, 2009 at 11:54 pm
Can someone please direct me to a tutorial or sth that explains how to use the generated code in python? (python newbie here, c++ veteran)
Thanks, now I can try that python thing
June 18th, 2009 at 11:58 pm
@mentat
On the side of this website are links to the documentation.
You just have to select ‘Python’ from the “Project->code_generation” setting. This is the same way you select XRC or C++.
June 24th, 2009 at 8:43 am
For Mentat,
All you need to do is subclass the generated python code (each form is a class) and its event handling methods. You shouldn’t have to touch the generated files. I think this is similar to the C++ way yes?
Eg.
from mygeneratedfilename import *
class mymanuallycodedclass(mygeneratedwxformbuilderclass):
def __init__ (………)
mygeneratedwxformbuilderclass.__init__(……..)
def handlepresssomebutton(self, event):
# This event is defined in generated code as just event.Skip()
# This method overrides it and you tell it what to do here.
frame=mymanuallycodedclass()
frame.Show()
June 25th, 2009 at 4:21 am
This is fantastic. Thanks!
I was on the verge of switching to Qt/PyQt because couldn’t find a wxPython designer I liked.
Charles
June 26th, 2009 at 3:46 pm
A great step in moving the creation of Python desktop applications forward. XRC files are better than nothing but having to reference all the controls and still build the UI from the XRC to an extent defeats the purpose. This gets us closer to how something like a WinForms application works in Visual Studio on Windows, i.e. closer to RAD.
June 30th, 2009 at 10:36 pm
Thanks for the wxPython feature. It will make alot of developers happy!
You just made it a lot easier to develop in python in windows!
The open source community thanks you!
July 22nd, 2009 at 6:00 pm
Many thanks for a great gui designer and the Python class generation puts this product into a different league. It’s easy to use and makes my job a great deal easier. Thank you.
July 24th, 2009 at 4:03 pm
Thank you very much.
You guys made real good software. wxFormBuilder with native wxPython-support improves my productivity by saving a lot of time.
Good Work!
Thanks from Berlin.
July 29th, 2009 at 10:09 am
There are some issues in the python code styling, as I explain in a bug report ( http://issues.wxformbuilder.org/index.php?do=details&task_id=429 ), still it’s a great thing to have python code generation!
August 10th, 2009 at 9:42 am
Great work!
I have been using wxFormBuilder to create GUI for my software, and I had to use xrc mechanism to initialize GUIs, I found it was a little slow when loading resources from XRC files. I guess the generated wxPython code should have better performance at run time.
Thanks very much.
August 26th, 2009 at 3:43 am
I found the formbuilder nice to use, but it only supports a limited subset of wxwidgets. For example wxWizard and wxWizardSimplePage is not supported, when it may even be easier to support than wxNotebook. Because it is a layout item, I can’t use wxCustomControl.
August 26th, 2009 at 4:53 am
@Mark,
Make an issue for this. http://issues.wxformbuilder.org
August 28th, 2009 at 4:06 pm
Great work!
Any chance you could make a Mac OS X version of the beta available?
Thanks and keep up the good work.
August 28th, 2009 at 4:54 pm
@Knappis,
Well the core developers don’t own or have Mac’s so we wait for volunteers. There usually is not to much to do, just build. Can you help?
September 1st, 2009 at 5:26 pm
Many thanks to your great wxFormbuilder!I have used it to design my user interface in several hours. Thanks again to your great work!
September 2nd, 2009 at 8:26 am
@Knappis,
I’ve (hopefully) managed to fix wxFB on Mac OS X (at least for wxWidgets 2.8.10) so watch the SVN - the fixed version will be available soon!
October 5th, 2009 at 8:13 pm
Thank You, this is real cool.
I am tired to use wxGlade - this is really shit against wxFormBuilder
November 24th, 2009 at 6:40 am
Thanks for the wxPython support. Great stuff! I’m really glad I found this, I almost had to go the QT route - glad I can easily put together a python GUI with a tool that will support more options than pythoncard.
December 8th, 2009 at 8:53 am
Thank You, Great Work!!!