v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
654 stars 58 forks source link

fix form switch changed callback #208

Closed step- closed 1 year ago

step- commented 1 year ago

Here this example showed garbage when the switch widget was changed

yad --form --field=switch:SW TRUE --field=check:CHK TRUE --changed-action='echo 3:' --field=changes

To fix this issue I changed the callback according to the gobject notify signature https://docs.gtk.org/gobject/signal.Object.notify.html.