# Makie how to know if a figure is displayed or not

**URL:** <https://discourse.julialang.org/t/makie-how-to-know-if-a-figure-is-displayed-or-not/90432>\
**Category:** Visualization\
**Created:** [November 18, 2022, 9:04am UTC](https://discourse.julialang.org/t/makie-how-to-know-if-a-figure-is-displayed-or-not/90432 "2022-11-18T09:04:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yjr/32/207725_2.png) [@yjr](https://discourse.julialang.org/u/yjr)\
**Post date:** [November 18, 2022, 9:04am UTC](https://discourse.julialang.org/t/makie-how-to-know-if-a-figure-is-displayed-or-not/90432/1 "2022-11-18T09:04:13Z")

</div>

Hello, I m doing a GUI in makie that calls some timer to refresh information displayed. I would like to close these timers either if the figure is not displayed or the closing cross button is clicked.  
So is there a method to know the status displayed/ not displayed of a figure ? Or is there a way to link a function to the closing button of the figure window…Thanks
