How can I create a wxgrid dinamically ?
Kepes.Krisztian at peto.hu
Mon Nov 24 09:45:15 CET 2003
My problem is that:
I want to create a frame with some buttons, and client area.
If the user clicked on a button, the procedure create components on
client area, and show results.
The components are not same classes, some grids, some others.
But I cannot do that.
If i do like this:
g=wxGrid(self, -1) # new grid
self.mainsizer.Add(g, 0, wxALL|wxEXPAND, 8) # I want to show
... but it is nothing happened.
How can I create components dinamically, and how can I show ?
How can I clear the grid to I can recreate with CreateGrid ?
Or I can do only DeleteRows/Cols and InsertRows/Cols ?
Thanx for help:
More information about the Python-list