开发者

the simplest and quickest way to build a wxPython GUI

I'm a C++ developer. I use Python mainly for helpers, testers etc., until now only in command line. Recently I needed to create a very small GUI application with two text boxes and one OK button. What would be the simplest and q开发者_如何学JAVAuickest way to code it in wx?

Thanks


For me, it would be to just do it by hand and put the widgets in one or two BoxSizers. For others, they might choose to use XRC, Boa Constructor, wxGlade or wxFormBuilder instead. There's a decent example here:

http://www.blog.pythonlibrary.org/2008/05/18/a-wxpython-sizers-tutorial/

It has a more complex example than you need, but it should give you the general idea.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜