I've created a custom window class (from window_base, not window_command). I'm looking to have it hide and deactivate 3 seconds after it's shown & activated.
Every search result so far has suggested some form of overriding my window's update method, but the window's refresh method calls draw_icon and draw_text. When I override update (even just to increment some variable and nothing more), the window is always drawn blank for the 3 seconds (or longer depending on how intense the overridden update method is). This is the case even when I place the draw_icon and draw_text calls within an overridden update method.
Is there a way to cause it to execute those calls while updating? And if not, is there another way to make my window vanish 3 seconds after it appears?
Every search result so far has suggested some form of overriding my window's update method, but the window's refresh method calls draw_icon and draw_text. When I override update (even just to increment some variable and nothing more), the window is always drawn blank for the 3 seconds (or longer depending on how intense the overridden update method is). This is the case even when I place the draw_icon and draw_text calls within an overridden update method.
Is there a way to cause it to execute those calls while updating? And if not, is there another way to make my window vanish 3 seconds after it appears?