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

Method set_click_handler

dlib/gui_widgets/widgets.h:1769–1772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1767 typename T
1768 >
1769 void set_click_handler (
1770 T& object,
1771 void (T::*eh)(unsigned long index)
1772 ) { auto_mutex M(m); single_click_event_handler = make_mfp(object,eh); }
1773
1774 void set_click_handler (
1775 const any_function<void(unsigned long)>& eh

Callers

nothing calls this directly

Calls 1

make_mfpFunction · 0.85

Tested by

no test coverage detected