SetValue method in GridTableBase wxPython
SetValue method in GridTableBase wxPython
Can anyone tell me how to redefine the method 'SetValue()' of wx.PyGridTableBase ???
Re: SetValue method in GridTableBase wxPython
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):
pass
wx.PyGridTableBase.SetValue = your_new_method
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 72 guests