What is the function to close a IGUIWindow?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
carlwryker
Posts: 22
Joined: Sun Jun 12, 2016 8:03 am

What is the function to close a IGUIWindow?

Post by carlwryker »

Maybe I missed it, but what is the function to close a IGUIWindow? I have a window that allows users to edit text. The window has a 'Submit' button that confirms text edits, but also needs to close the window. I'm using the default close button to close the window and cancel the text edits.
Code::Blocks
mingw
Windows 10 64-bit
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: What is the function to close a IGUIWindow?

Post by CuteAlien »

You can remove any gui element with it's remove() function. That works also for the IGUIWindow.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
carlwryker
Posts: 22
Joined: Sun Jun 12, 2016 8:03 am

Re: What is the function to close a IGUIWindow?

Post by carlwryker »

Thank you!
Code::Blocks
mingw
Windows 10 64-bit
Post Reply