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

Method on_button_clicked

examples/gui_api_ex.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177private:
178
179 void on_button_clicked (
180 )
181 {
182 // when someone clicks our button it will increment the counter and
183 // display it in our label c.
184 ++counter;
185 ostringstream sout;
186 sout << "counter: " << counter;
187 c.set_text(sout.str());
188 }
189
190 void show_about(
191 )

Callers

nothing calls this directly

Calls 2

set_textMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected