GimpUi.toggle_button_update

function toggle_button_update(widget: Gtk.Widget, data: void): void {
    // Gjs wrapper for gimp_toggle_button_update()
}
  
widget

A Gtk.ToggleButton.

data

A pointer to a #gint variable which will store the value of gtk_toggle_button_get_active().