:orphan:
# PetscDrawSetVisible
Sets if the drawing surface (the 'window') is visible on its display. 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawSetVisible(PetscDraw draw, PetscBool visible)
```

## Input Parameters

- ***draw -*** the drawing window
- ***visible -*** if the surface should be visible





## See Also
 `PetscDraw`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/draw.c.html#PetscDrawSetVisible">src/sys/classes/draw/interface/draw.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/win32/win32draw.c.html#PetscDrawSetVisible_Win32">PetscDrawSetVisible_Win32 in src/sys/classes/draw/impls/win32/win32draw.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/x/xops.c.html#PetscDrawSetVisible_X">PetscDrawSetVisible_X in src/sys/classes/draw/impls/x/xops.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/draw.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
