|
From: Nicolas F. <ni...@ya...> - 2004-01-22 13:20:33
|
After few weeks working with wxPython, I must say that's a wonderful library and my first choice for GUI programming. However, there's few things inherited from the C++ API that could be more python-friendly. Before deciding to post a msg on wxPython newsgroup about possibilities of enhancing the API, I made some searches to find the existence of PythonCard. Still, I'm not sure if PythonCard goal is only to provide a VB-like tool, or also a next-gen API for wxPython (I understand PythonCard is at the moment a layer over wxPython)? By the way, there's two things I haven't seen in the TODO list (I may have miss something), but basically: Make register of some events easier: wx.Button(parent, callback=self.onButtonPress) Support python iterations: for child in myTreeItem.children: ... Also, I'm not a VB-like user since I like to use things like sizers, but if you want to simplify the use of sizers, on solution could be to reduce the number of possible sizers by providing something a FlexGridSizer with capabilities for multi-cells widgets. This is done in html tables, and I guess there's a lot of html editors that can be checked for ideas on interface. This kind of sizer eliminates the need of BoxSizer, GridSizer, etc. I think Java has one named GridBagLayout or something like that. Regards, Nicolas |