# Making plugin's panel invisible programmatically

**URL:** https://discourse.paraview.org/t/making-plugins-panel-invisible-programmatically/4503
**Category:** Development
**Created:** [June 4, 2020, 7:53am UTC](https://discourse.paraview.org/t/making-plugins-panel-invisible-programmatically/4503 "2020-06-04T07:53:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![siver](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/7ba0ec/32.png) [@siver](https://discourse.paraview.org/u/siver)
#### Post date: [June 4, 2020, 7:54am UTC](https://discourse.paraview.org/t/making-plugins-panel-invisible-programmatically/4503/1 "2020-06-04T07:54:00Z")

</div>

Dear PV devs,

How do I make a panel of a plugin invisible within c++?  
By panel I mean \<PropertyGroup\> which has a name and several properties.

So far, I have tried calling hide() and setVisibility(false), to no effect.

I have also tried to find how the “panel\_visibiliy” is implemented in the code and I found no related methods.

Thank you for your help.

Sincerely,  
Art

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 5, 2020, 3:18am UTC](https://discourse.paraview.org/t/making-plugins-panel-invisible-programmatically/4503/2 "2020-06-05T03:18:57Z")

</div>

You need to use hide() on the widget instance. Make sure you are calling it on the right object.
