From: Andre <ar...@ki...> - 2007-05-29 19:26:12
|
John Labenski <jlabenski@...> writes: > > The bindings have some GetXXX and SetXXX functions declared using the > %property tag. > > For example, the wxSize bindings have > > int wxSize::GetWidth() > void wxSize::SetWidth(int width) > %property=Width, read, write > > and can be accessed as > > s = wx.wxSize(0,0) > print(s.Width) <==> print(s:GetWidth()) > s.Width = 5 <==> s:SetWidth(5) > I have been using them. If it make your life easier I can change my code. To tell you the true I find the get and set somewhat suspect :) Here you to each is own. Please just post if you will remove them I will vhange my code now and get it over with I really don't mind. Andre |