I'm trying to prompt the user to click to try again after he loses a life. I have implemented this by a GLabel. I am struggling to find a way to remove that GLabel message once the user has clicked to try again.

Is there such a function? Or am I missing something simple?



try again message

1 Answer 1


I think this will work:

removeGWindow(window, try_again);

Let me know in the comments if it doesn't so I can investigate more.

  • That worked well. Thanks a lot :) Aug 9, 2015 at 22:03
  • If this answers your question please accept it by clicking the gray check-mark to the left, so that it becomes green. You can also vote it up by pressing the up arrow above the check-mark.
    – ChrisG
    Aug 9, 2015 at 22:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .