MCPcopy Index your code
hub / github.com/processing/processing / selectInput

Method selectInput

core/src/processing/core/PApplet.java:6508–6510  ·  view source on GitHub ↗

Open a platform-specific file chooser dialog to select a file for input. After the selection is made, the selected File will be passed to the 'callback' function. If the dialog is closed or canceled, null will be sent to the function, so that the program is not waiting for additional input. The call

(String prompt, String callback)

Source from the content-addressed store, hash-verified

6506 * @param callback name of the method to be called when the selection is made
6507 */
6508 public void selectInput(String prompt, String callback) {
6509 selectInput(prompt, callback, null);
6510 }
6511
6512
6513 public void selectInput(String prompt, String callback, File file) {

Callers

nothing calls this directly

Calls 1

selectImplMethod · 0.95

Tested by

no test coverage detected