ItemMoveFn class
#include <GGUI/Public/UIDragDrop.h>
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
fnwith 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.