Home » U++ Library support » U++ Core » Is FrameLess() working under Linux ?
Is FrameLess() working under Linux ? [message #38879] |
Fri, 25 January 2013 09:30 |
|
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
Hi,
As said in the title, I can't get FrameLess() working under Linux. I tried this, based on Gui04 tutorial :
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
struct MyAppWindow : TopWindow {
virtual void Paint(Draw& w) {
w.DrawRect(GetSize(), Green);
w.DrawText(20, 20, "Hello world!", Arial(30), Magenta);
}
MyAppWindow() {
FrameLess();
Title("My application").Zoomable().Sizeable();
}
};
GUI_APP_MAIN
{
MyAppWindow app;
app.SetRect(0, 0, 200, 100);
app.FrameLess(false);
app.Run();
}
I made several tries, calling FrameLess() at different places, with or without argument, but I have always a window with title bar...
Am I doing something wrong, or is there a problem under Linux ?
|
|
|
Re: Is FrameLess() working under Linux ? [message #38880 is a reply to message #38879] |
Fri, 25 January 2013 10:26 |
|
jibe wrote on Fri, 25 January 2013 09:30 | Hi,
As said in the title, I can't get FrameLess() working under Linux.
...
Am I doing something wrong, or is there a problem under Linux ?
|
Hi Jibe,
You are doing it right. The frameless flag is not regarded on Linux and AFAIK it never was. As far as I can see only Win32 and the new GTK backend support it.
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 05:26:32 CEST 2024
Total time taken to generate the page: 0.03379 seconds
|