Hi,
I'm a newbe to wxPyton and python too - I'll rewrite a application written
in TCL/TK with python and wxpython.
I use the notebook, SpliiterWindow etc. - works well, but I'm wondering
to have to define the TK-entries here wxTextCtrl() on an absolute position
and a fix length.
I have constructs like:
panel1 = wxPanel(self.nb, -1)
self.nb.AddPage(panel1, "Wein")
wxStaticText(panel1, -1, "Id:", wxPoint(5, 5), wxSize(15, 20))
t = wxTextCtrl(panel1, 10, "", wxPoint(20, 5), wxSize(30, 20))
wxStaticText(panel1, -1, "Name:", wxPoint(55,5), wxSize(35, 20))
t2 = wxTextCtrl(panel1, 10, "", wxPoint(92, 5), wxSize(590, 20),
wxMAXIMIZE_BOX)
wxStaticText(panel1, -1, "Jahrg.:", wxPoint(690,5), wxSize(35,
20))
self.text = wxTextCtrl(panel1, -1, "2000", wxPoint(730, 5),
wxSize(40, 20))
What I miss is the relativ packing to another object and such as
expand=yes.
I want to habe the Id:-entry at the left side, the an expandable
Name:-entry and than the Jahrg.:-entry on the right side. And if the
user resizes the Window - this line will enlage or shorten in this manner.
Any tips/examles? Have I to use the wxBoxSizer?
···
--
~Guenther Fischer