|
Nana C++ Library. Reference for users.
What we need to use nana
|
Classes | |
| struct | implementation |
Public Member Functions | |
| simple_dragdrop (window source) | |
| simple_dragdrop (window drag_origin, std::function< bool()> when, window drop_target, std::function< void()> how) | |
| ~simple_dragdrop () | |
| void | condition (std::function< bool()> predicate_fn) |
| Condition checker. More... | |
| void | make_drop (window target, std::function< void()> drop_fn) |
|
explicit |
|
inline |
| nana::simple_dragdrop::~simple_dragdrop | ( | ) |
| void nana::simple_dragdrop::condition | ( | std::function< bool()> | predicate_fn | ) |
Condition checker.
Sets a condition checker that determines whether the drag-and-drop operation can start. If a condition checker is not set, it always start drag-and-drop operation.
| predicate_fn | Unary predicate which returns #true# for starting drag-and-drop operation. |
| void nana::simple_dragdrop::make_drop | ( | window | target, |
| std::function< void()> | drop_fn | ||
| ) |