Page 1 of 1

just a window (no frame, bg, ...) [solved]

Posted: Thu Oct 12, 2006 17:59
by Pompei2
Hello,

I'd like to know wether it is possible and how to create a container for widgets. I mean something like a frame window but without the frae, background, ... I managed to get a framewindow without titlebar, frame, ... but i cant hide its background. Is there another solution ??

what i want to achieve is to load just a few buttons from an layout file, but as i need a root, i thought of an invisible window ... I could use a staticImage with no image, but isn't there a more proper way ??

Posted: Thu Oct 12, 2006 23:40
by spannerman
Try the DefaultGUISheet E.g:

Code: Select all

Window* invisiWin = winMgr.createWindow("DefaultGUISheet", "invisiWin");

Posted: Thu Oct 12, 2006 23:46
by Pompei2
great, that works ! thank you. my error was that i only looked in the looknfeel file :)

Posted: Fri Oct 13, 2006 12:06
by spannerman
Cool :D