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

Method set_click_handler

dlib/gui_widgets/widgets.h:1235–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1233 typename T
1234 >
1235 void set_click_handler (
1236 T& object,
1237 void (T::*eh)(unsigned long new_idx,unsigned long old_idx)
1238 )
1239 {
1240 auto_mutex M(m);
1241 event_handler = make_mfp(object,eh);
1242 }
1243
1244 void set_click_handler (
1245 const any_function<void(unsigned long,unsigned long)>& eh

Callers

nothing calls this directly

Calls 1

make_mfpFunction · 0.85

Tested by

no test coverage detected