Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ set_sourced_click_handler
Method
set_sourced_click_handler
dlib/gui_widgets/widgets.h:274–281 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
272
}
273
274
void set_sourced_click_handler (
275
const any_function<void(toggle_button&)>& event_handler_
276
)
277
{
278
auto_mutex M(m);
279
event_handler_self = event_handler_;
280
event_handler.clear();
281
}
282
283
private:
284
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected