On Tue, 24 Feb 2015, C M wrote:
> Offhand, it seems like they all do about the same thing relative to your
> needs: show rows and column headers. I tend to think in terms of grids
> when browsing databases (such as with SQLite Database Browser), so then I
> guess wxGrid would be good, and found this write-up about using it with an
> SQLite database:
>
http://www.salstat.com/news/linking-wxgrid-to-sqlite-database-in-python-an-example
Che,
Thanks. Considering that example was written last autumn I'm surprised he
uses wx.PySimpleApp() as that's been deprecated.
I'll be using SQLAlchemy between the UI and the backend database so it
seems that wx.Grid() is the way to go. I can put a grid on the panel rather
than the wx.TextCtrl() and wx.ComboBox() widgets. Perhaps I can even put a
choice or combobox in a cell when there's a limited and defined list of
valid entries for that column. Think there's sample code on the Wiki site.
Then all I need are Add/Edit/Deactivate buttons for each page, and those
can be in a separate class and called with pubsub.
Thanks,
Rich