MCPcopy
hub / github.com/arduino/Arduino / activate

Method activate

app/src/processing/app/EditorToolbar.java:518–522  ·  view source on GitHub ↗

Set a particular button to be active.

(int what)

Source from the content-addressed store, hash-verified

516 * Set a particular button to be active.
517 */
518 private void activate(int what) {
519 if (buttonImages != null) {
520 setState(what, ACTIVE, true);
521 }
522 }
523
524 public void activateRun() {
525 activate(RUN);

Callers 3

activateRunMethod · 0.95
activateSaveMethod · 0.95
activateExportMethod · 0.95

Calls 1

setStateMethod · 0.95

Tested by

no test coverage detected