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

Method set_click_handler

dlib/gui_widgets/base_widgets.h:812–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810 typename T
811 >
812 void set_click_handler (
813 T& object,
814 void (T::*event_handler_)()
815 )
816 {
817 auto_mutex M(m);
818 event_handler = make_mfp(object,event_handler_);
819 event_handler_self.clear();
820 }
821
822 void set_click_handler (
823 const any_function<void()>& event_handler_

Callers

nothing calls this directly

Calls 2

make_mfpFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected