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

Method setStartMenuClose

src/main/java/exitcode/API.java:170–172  ·  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 close the startmenu.

(Runnable function)

Source from the content-addressed store, hash-verified

168 * @param function This is the Runnable that is executed to close the startmenu.
169 */
170 public static void setStartMenuClose(Runnable function) {
171 Desktop.startMenuClose = function;
172 }
173
174 public static void addNewApp(String appName, Runnable function) {
175 Apps.appButtons.putIfAbsent(appName, function);

Callers 1

setDefaultStartMenuMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected