|
|
using | notifier_type = notifier<void()> |
|
using | callback_type = notifier_type::callback_type |
|
| virtual void | init (widget_intf const &sender) noexcept |
| | This function is called when a widget takes ownership of a delegate.
|
| virtual void | deinit (widget_intf const &sender) noexcept |
| | This function is called when a widget drops ownership of a delegate.
|
| template<forward_of< void()> Func> |
| callback_type | subscribe (Func &&func, callback_flags flags=callback_flags::synchronous) noexcept |
| | Subscribe a callback for notifying the widget of a data change.
|
◆ deinit()
| virtual void hi::v1::widget_delegate::deinit |
( |
widget_intf const & | sender | ) |
|
|
inlinevirtualnoexcept |
This function is called when a widget drops ownership of a delegate.
◆ init()
| virtual void hi::v1::widget_delegate::init |
( |
widget_intf const & | sender | ) |
|
|
inlinevirtualnoexcept |
This function is called when a widget takes ownership of a delegate.
◆ subscribe()
template<forward_of< void()> Func>
| callback_type hi::v1::widget_delegate::subscribe |
( |
Func && | func, |
|
|
callback_flags | flags = callback_flags::synchronous ) |
|
inlinenodiscardnoexcept |
Subscribe a callback for notifying the widget of a data change.
The documentation for this struct was generated from the following file: