Jun-06-2017, 09:06 PM
I think I already know the answer to my question, but wanted a different perspective so
that I can verify that I should not do what I'd love to be able to do.
I have a widget that is part of a widget constructor class
and in class ShowData:
Is this OK?
I have a very guilty feeling like I am breaking some sort of cardinal rule.
that I can verify that I should not do what I'd love to be able to do.
I have a widget that is part of a widget constructor class
1 2 3 4 |
self .showdata = ShowData() ... self .search = wx.SearchCtrl( self .leftpanel, id = wx.ID_ANY) self .Bind(wx.EVT_TEXT, showdata.OnKeyDown, self .search) |
1 2 |
def OnKeyDown( self ): ... |
I have a very guilty feeling like I am breaking some sort of cardinal rule.