:orphan:
# PetscDrawGetPopup
Creates a popup window associated with a `PetscDraw` window.
## Synopsis
```
#include "petscdraw.h"
PetscErrorCode PetscDrawGetPopup(PetscDraw draw, PetscDraw *popup)
```
Collective
## Input Parameter
- ***draw -*** the original window
## Output Parameter
- ***popup -*** the new popup window
## See Also
`PetscDraw`, `PetscDrawScalePopup()`, `PetscDrawCreate()`
## Level
advanced
## Location
src/sys/classes/draw/interface/draw.c
## Implementations
PetscDrawGetPopup_Image in src/sys/classes/draw/impls/image/drawimage.c
PetscDrawGetPopup_Win32 in src/sys/classes/draw/impls/win32/win32draw.c
PetscDrawGetPopup_X in src/sys/classes/draw/impls/x/xops.c
---
[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)