10namespace hi::inline v1 {
16 virtual void init(
tab_widget &sender)
noexcept {}
17 virtual void deinit(
tab_widget &sender)
noexcept {}
23 return _notifier.subscribe(flags,
hi_forward(callback));
30 return subscribe(sender, callback_flags::synchronous,
hi_forward(callback));
35 virtual ssize_t index(tab_widget &sender)
noexcept
#define hi_forward(x)
Forward a value, based on the decltype of the value.
Definition required.hpp:29
Definition tab_delegate.hpp:13
auto subscribe(tab_widget &sender, std::invocable<> auto &&callback) noexcept
Subscribe a callback for notifying the widget of a data change.
Definition tab_delegate.hpp:28
auto subscribe(tab_widget &sender, callback_flags flags, std::invocable<> auto &&callback) noexcept
Subscribe a callback for notifying the widget of a data change.
Definition tab_delegate.hpp:21
A graphical element that shows only one of a predefined set of mutually exclusive child widgets.
Definition tab_widget.hpp:32