U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » Fullscreen in linux
Fullscreen in linux [message #39599] Wed, 03 April 2013 14:52 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
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();
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Child Form minimized if Main Form is Zoomable
Next Topic: Issue with ToolWin
Goto Forum:
  


Current Time: Thu Sep 24 20:07:13 GMT+2 2026

Total time taken to generate the page: 0.00851 seconds