How do I make window visiable/invisible at runtime?
<p>I am using kivy to create a small Gui for my python program. This Gui is not always visible. So I start it with these settings:</p>

<pre><code>Config.set('graphics', 'borderless', True)
Config.set('graphics', 'resizable', False)
Config.set('graphics', 'window_state', 'hidden')
</code></pre>

<p>However: Somewhere in my program I want to make the window visible again. How do I do that? I couldnt find anything that changes configuration at runtime.</p>

<p>It seems that if you are using the SDL provider you have a <strong>hide &amp; show</strong> functions on the Window object</p>

<p>from the kivy.core.window docs:</p>

<pre><code>hide() Added in 1.9.0
Hides the window. This method should be used on desktop platforms only.

Note
This feature requires the SDL2 window provider and is currently only supported on desktop platforms.

show()Â¶Added in 1.9.0
Shows the window. This method should be used on desktop platforms only.

Note
This feature requires the SDL2 window provider and is currently only supported on desktop platforms.
</code></pre>

python kivy