Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 325
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: Sat Apr 20 04:31:28 CEST 2024

Total time taken to generate the page: 0.03053 seconds