SpinButton.setActivatesDefault

void setActivatesDefault(bool activatesDefault)

Sets whether activating the spin button will activate the default widget for the window containing the spin button.

See [gtk.spin_button.SpinButton.activate] for what counts as activation.

Parameters

activatesDefaulttrue to activate window’s default widget on activation