How to hide frame window?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Emtec
Just popping in
Just popping in
Posts: 11
Joined: Tue Aug 05, 2014 15:10

How to hide frame window?

Postby Emtec » Sun Jun 21, 2015 21:20

I would like to ask hide frame in window.
I am using "TaharezLook/FrameWindow". The code to create window is:
if (window_ptr = static_cast<CEGUI::FrameWindow*>(CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/FrameWindow", window_name)))
Now I would like to hide window's frame. Could you tell me how? Thanks.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to hide frame window?

Postby Ident » Mon Jun 22, 2015 08:28

Code: Select all

window->setProperty("FrameEnabled", "False");

you might also want to do:

Code: Select all

window->setProperty("TitlebarEnabled", "False");


JFYI: CEED lists you all properties when you click a window in layout editing mode. You would find all window-type-specific properties at the bottom, e.g. under "CEGUI/FrameWindow" and "Vanilla/FrameWindow" (or whatever look n' feel you use).
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 19 guests