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

Method set_button_down_handler

dlib/gui_widgets/base_widgets.h:863–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861 typename T
862 >
863 void set_button_down_handler (
864 T& object,
865 void (T::*event_handler)()
866 )
867 {
868 auto_mutex M(m);
869 button_down_handler = make_mfp(object,event_handler);
870 }
871
872 void set_button_down_handler (
873 const any_function<void()>& event_handler

Callers 1

scroll_barMethod · 0.80

Calls 1

make_mfpFunction · 0.85

Tested by

no test coverage detected