|
SpringGUI
introduction download reference examples faq
Reference
Name
|
remove()
|
Examples
|
SpringGUI gui;
void setup() {
size(200,200);
gui = new SpringGUI(this); // initialise SpringGUI
// Create a button named "myButton" at coordinates 10,10 with width 200px and height 25px...
gui.addButton("myButton", "I am a button", 10, 10, 200, 25);
gui.remove("myButton"); // remove the Button we just created.
}
|
Description
|
Removes a GUI element specified by name.
|
Syntax
|
gui.remove(name);
|
Parameters
|
String name
|
The name of the element to remove.
|
|
Returns
|
true if the element could be found.
|
Related
|
isElement()
|
back to the top of the page
|
| |
| | |