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

Method set_button_up_handler

dlib/gui_widgets/base_widgets.h:883–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881 typename T
882 >
883 void set_button_up_handler (
884 T& object,
885 void (T::*event_handler)(bool mouse_over)
886 )
887 {
888 auto_mutex M(m);
889 button_up_handler = make_mfp(object,event_handler);
890 }
891
892 void set_button_up_handler (
893 const any_function<void(bool)>& event_handler

Callers 1

scroll_barMethod · 0.80

Calls 1

make_mfpFunction · 0.85

Tested by

no test coverage detected