After creating a pg = wx.propgrid.PropertyGrid(…)
I can access the string, which will be displayed, if a property has an unspecified value with pg.GetUnspecifiedValueText()
.
How would I set that to a different value, e.g. to '<Unspecified>'
.
I tried
-
pg.SetUnspecifiedValueText('<Unspecified>')
but get anAttributeError
. -
pg.UnspecifiedValue = '<Unspecified>'
does not work either.