Nana C++ Library. Reference for users.
What we need to use nana
|
Helper class that allows the user to drag windows. More...
Classes | |
class | dragger_impl_t |
Public Member Functions | |
dragger () | |
~dragger () | |
dragger (dragger &&) | |
dragger & | operator= (dragger &&) |
void | target (window) |
void | target (window, const rectangle &restrict_area, nana::arrange) |
void | remove_target (window) |
void | trigger (window) |
Helper class that allows the user to drag windows.
If a user presses the mouse on the specified window and moves the mouse, the specified window is dragged. The drag target window and trigger window can be set more than once. See Is it possible to make event inside event handler? and How to make widget movable by mouse the best way
nana::dragger::dragger | ( | ) |
nana::dragger::~dragger | ( | ) |
nana::dragger::dragger | ( | dragger && | other | ) |
void nana::dragger::remove_target | ( | window | wd | ) |
void nana::dragger::target | ( | window | wd | ) |
void nana::dragger::target | ( | window | wd, |
const rectangle & | restrict_area, | ||
nana::arrange | arg | ||
) |
void nana::dragger::trigger | ( | window | tg | ) |