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

Method set_sourced_click_handler

dlib/gui_widgets/base_widgets.h:844–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842 }
843
844 void set_sourced_click_handler (
845 const any_function<void(button&)>& event_handler_
846 )
847 {
848 auto_mutex M(m);
849 event_handler_self = event_handler_;
850 event_handler.clear();
851 }
852
853 bool is_depressed (
854 ) const

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected