Shiny Language Reference

Language Reference > Panel Functions


ispanelvisible

bool ispanelvisible();

 

 

Returns whether the display panel is visible or hidden

ISPANELVISIBLE returns whether the display panel is visible or completely hidden on-screen. This function is a counterpart to showpanel, however note that showpanel is not the only method of hiding a panel.

 

Parameters

None

 
 

Return Value

TRUE if the panel is visible, otherwise FALSE

 

Example Code

// bVisible contains the panel state
bool bVisible = ispanelvisible();