Report question

Question: How to call function after window is shown?