50#ifndef STAGE_MODEL_VIEW_HOOK_H
51#define STAGE_MODEL_VIEW_HOOK_H
80 virtual void hook (WID& widget) =0;
81 virtual void remove (WID& widget) =0;
82 virtual void rehook (WID& widget)
noexcept =0;
113 template<
class WID,
class BASE =WID>
122 template<
typename...ARGS>
124 : WID{
std::forward<ARGS>(args)...}
134 view_->remove (*
this);
160 for (WID& existingHook : newOrder)
161 this->rehook (existingHook);
Interface to represent _"some presentation layout entity",_ with the ability to attach widgets (manag...
virtual void hook(WID &widget)=0
virtual ~ViewHook()
this is an interface
void reOrder(IT newOrder)
re-attach elements in a given, new order.
virtual void remove(WID &widget)=0
virtual void rehook(WID &widget) noexcept=0
A widget attached onto a display canvas or similar central presentation context.
ViewHooked(View &view, ARGS &&...args)
Any copy and copy construction prohibited.
#define ERROR_LOG_AND_IGNORE(_FLAG_, _OP_DESCR_)
convenience shortcut for a sequence of catch blocks just logging and consuming an error.
Lumiera GTK UI implementation root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...