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

Method set_checked

dlib/gui_widgets/widgets.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40// ----------------------------------------------------------------------------------------
41
42 void toggle_button::
43 set_checked (
44 )
45 {
46 auto_mutex M(m);
47 checked = true;
48 parent.invalidate_rectangle(rect);
49 }
50
51// ----------------------------------------------------------------------------------------
52

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected