in visibility should have effects on the parent widget.
Get current value.
QxWidget.getDisplay();
Set new value.
QxWidget.setDisplay(newValue);