Class clove::DataBindingΒΆ
-
class
clove
::
DataBinding
A data binding.
Read the Manual for details.
Public Functions
-
DataBinding
(widget, propertyName, datasource, ptr, dataDirection, valueComparator, valueConverter) - Parameters
widget
: The clove::Widget to bind to the datasource.propertyName
: The property name in the widget to bind.datasource
: The clove::Datasource to bind to the widget.ptr
: The clove::DatasourceValuePointer.dataDirection
: See clove::databind().valueComparator
: Optional custom function which checks if two values are equal.valueConverter
: Optional clove::DataBindingConverter for conversion between ui and data model.
-
bind
() Activates the binding.
-
unbind
() Deactivates the binding.
-