[wxPython] Re: Managing wxPython Controls

Patrick Callahan <pac1@tiac.net> wrote, in part:

How do I get at the properties of the various widgets I create in a wx
window?

I understand how events are managed and trigger python functions, but
is there a way to go the other way and inspect the contents of a wx
object from within python, event though there is no corresponding
python object?

Patrick:

(a) I'm responding in case no-one more knowledgeable than I am
does not, and (b) I'm not altogether clear what you mean.

You mentioned events. In the context of event processing I believe
you can do the following (but have not been obliged to try it):

  def OnACertainEvent ( self, event ):
    source = event . GetEventObject ( )

'source' is a reference to the object, if any, that generated the event.

Is this anywhere near what you wanted?

Bill