MCPcopy Create free account
hub / github.com/davisking/dlib / set_image_clicked_handler

Method set_image_clicked_handler

dlib/gui_widgets/widgets.h:3456–3463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3454 typename T
3455 >
3456 void set_image_clicked_handler (
3457 T& object,
3458 void (T::*event_handler_)(const point& p, bool is_double_click, unsigned long btn)
3459 )
3460 {
3461 auto_mutex M(m);
3462 image_clicked_handler = make_mfp(object,event_handler_);
3463 }
3464
3465 void set_image_clicked_handler (
3466 const any_function<void(const point& p, bool is_double_click, unsigned long btn)>& event_handler_

Callers 3

metadata_editorMethod · 0.80
image_windowMethod · 0.80
image_windowMethod · 0.80

Calls 1

make_mfpFunction · 0.85

Tested by

no test coverage detected