The setter will automatically set property on object to value when
applying the breakpoint, and set it back to its original value upon
unapplying it.
::: note
Setting properties to their original values does not work for properties
that have irreversible side effects. For example, changing
gtk.button.Button.utf8 while propertyGtk.Button:icon-name is set
will reset the icon. However, resetting the label will not set
icon-name to its original value.
Use the signalBreakpoint::apply and signalBreakpoint::unapply signals
for those properties instead, as follows:
Adds a setter to self.
The setter will automatically set property on object to value when applying the breakpoint, and set it back to its original value upon unapplying it.
::: note Setting properties to their original values does not work for properties that have irreversible side effects. For example, changing gtk.button.Button.utf8 while propertyGtk.Button:icon-name is set will reset the icon. However, resetting the label will not set icon-name to its original value.
Use the signalBreakpoint::apply and signalBreakpoint::unapply signals for those properties instead, as follows: