|
template<forward_of< observer< value_type > > Value> |
| default_text_delegate (Value &&value) noexcept |
| Construct a delegate.
|
|
gstring | read (widget_intf const &sender) noexcept override |
| Read text as a string of graphemes.
|
|
void | write (widget_intf const &sender, gstring const &text) noexcept override |
| Write text from a string of graphemes.
|
|
virtual void | init (widget_intf const &sender) noexcept |
|
virtual void | deinit (widget_intf const &sender) noexcept |
|
template<forward_of< void()> Func> |
callback< void()> | subscribe (Func &&func, callback_flags flags=callback_flags::synchronous) noexcept |
| Subscribe a callback for notifying the widget of a data change.
|
|
A default text delegate specialization for gstring
.