Home » U++ Library support » TopWindow&PopUp, TrayIcon » Fullscreen in linux
| Fullscreen in linux [message #39599] |
Wed, 03 April 2013 14:52  |
Zbych
Messages: 329 Registered: July 2009
|
Senior Member |
|
|
Hi,
I am trying to open full screen window from my application. Unfortunately only main window is able to do this, all other windows aren't.
Do you have any idea how to convince window manager (metacity? ubuntu 10.04 and 12.04), to let all windows go fullscreen?
Test code:
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
static int i = 0;
struct MyAppWindow : TopWindow {
Label l;
virtual void LeftDown(Point pos, dword flags) {
MyAppWindow().Run();
}
MyAppWindow() {
Title("Fullscreen");
FullScreen();
l.SetLabel(Format("\1[= Window %d&Click to open next window]", ++i));
l.SizePos();
Add(l);
}
};
GUI_APP_MAIN
{
MyAppWindow().Run();
}
|
|
|
|
Goto Forum:
Current Time: Sat Dec 13 15:53:32 CET 2025
Total time taken to generate the page: 0.00553 seconds
|