Hi,
Say I have a window, how do I get the title bar text to change?
I've tried doing CEGUI::Window::setText("NewTitle") but it doesn't update the title bar.
Do I have to commit the change somehow?
Thanks
Si
Quickie - Changing Title bar text
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
What kind of Window is it? If it's a FrameWindow then setText should do it - unless perhaps it's a custom FrameWindow subclass in which you override Window::onTextChanged and do not call the FrameWindow implementation (that forwards the changed text to the titlebar).
So, basically. If it's a FrameWindow it should already work, otherwise you need to utilise some mechanism to forward the changed text.
CE.
So, basically. If it's a FrameWindow it should already work, otherwise you need to utilise some mechanism to forward the changed text.
CE.
Who is online
Users browsing this forum: No registered users and 5 guests