ofxButton (how to hide/show the button at run time)?

I am trying to do something like, ( if i change the size button.setSize(0,0); the text remains and space in gui remain)

button.hidde();
button.show();

button.visible = true;
button.visible = false;