MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / setStartMenu

Method setStartMenu

src/main/java/exitcode/API.java:161–163  ·  view source on GitHub ↗

This sets the OS Start Menu. Each time this is run, it overwrites the last input. @param function This is the Runnable that is executed to call the startmenu. In reality, you could put anything here. Not just an actual Menu.

(Runnable function)

Source from the content-addressed store, hash-verified

159 * you could put anything here. Not just an actual Menu.
160 */
161 public static void setStartMenu(Runnable function) {
162 Desktop.startMenu = function;
163 }
164
165 /**
166 * This sets the OS Start Menu. Each time this is run, it overwrites the last input.

Callers 1

setDefaultStartMenuMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected