Button#
- squap.add_button(name, func=None, row=None)[source]#
Adds a
buttonto the main input widget, or to allinput tablesif there are more.
- class squap.widgets.InputTable.Button#
- Button.bind(func)#
Bind function
functo this box, meaning that when the value of the box is changed, the function is called.- Parameters:
func (callable) – function to bind to this box.
- Button.unbind(func)#
Unbind function. Is used internally when removing a box.
- Parameters:
func (callable) – function to unbind from this box.
- Button.change_params(**kwargs)#
Changes the parameters of the button. Accepts
nameandfuncas keyword arguments.
- Button.remove()#
Remove this box.