Ah HA! I finally managed to get subscribed....tried to use the web
link, and was getting rejected cause I was spam apparantly.
I'm new, so let's get that out of the way. If there's a list for that,
I'll go there, but tutor-python sent me here.
Building a gui app using wxPython, (yay wxPython!) and I've got some
questions about event handling. I've encountered two different ways it
seems of registering events:
self.Bind(wx.EVT_TEXT, self.EvtText, cb)
and
EVT_TEXT(self, ID_BUTTON1, self.OnButton)
Is there a difference between these two methods? And how is argument
handling done when passing too a function this way. I've managed to get
my notebook working, I've set up the fields for data entry, tagged
everything with an ID, but when it comes time to hit the 'add item'
button, I'm not sure how to pass the entries to my write method.
(either a text file or an SQL handler, haven't decided which yet.) Do I
have to create everything as a self. reference for each window in the
notebook? Or can the scope remain strictly local to the notebook
object?
Did that make sense?
If there are any sadists out there, I can show you the code as it is
now. It could be better, I'm sure of it, but I'm still new to builiding
really elegent fucntions etc...stupid self taught...
And as an aside, is there a way to 'disable' a menu item? I didn't see
anything in the docs.
Stryder