How to have cloth bending value in the toolbar menu

was wondering if you can have a property in the toolbar as part of an add-on that updates the value of any property.
thanks.