All other Source.Python topics and issues.
3 posts • Page 1 of 1
Can anyone tell me how to redefine the method 'SetValue()' of wx.PyGridTableBase ???
You can either override the method by subclassing wx.PyGridTableBase or monkey patch by using something like this:
Though, subclassing is the preferred way to achieve that.
Syntax: Select all
def your_new_method(self, *args, **kwargs):
wx.PyGridTableBase.SetValue = your_new_method
Who is online
Users browsing this forum: No registered users and 1 guest