GGUI::ItemMoveFn class

Row-move callback: [=](std::span<const ItemID> items, ItemID onto, GGDropPlace place) { ... }.

Constructors, destructors, conversion operators

ItemMoveFn() defaulted
None: the view's rows can't be moved.
template<typename TFn>
ItemMoveFn(TFn fn)
Calls fn with the rows moved, the row dropped on, and where by it.
operator bool() const explicit
Whether it calls anything.

Public functions

void operator()(const ItemMove& move) const
Report move.